Creating a doxyfile

This commit is contained in:
Zoe Roux 2021-03-29 00:40:11 +02:00
parent 65a8190ce8
commit c8d72e1a87
3 changed files with 2565 additions and 0 deletions

2
.gitignore vendored
View File

@ -7,6 +7,8 @@ Kyoo/Transcoder/Kyoo.Transcoder.pdb
Kyoo/Transcoder/Kyoo.Transcoder.exp Kyoo/Transcoder/Kyoo.Transcoder.exp
docs/
## Ignore Visual Studio temporary files, build results, and ## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons. ## files generated by popular Visual Studio add-ons.
## ##

2555
Doxyfile Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,16 @@ using Microsoft.Extensions.Configuration;
namespace Kyoo namespace Kyoo
{ {
/// <summary>
/// A class that regroup extensions used by some asp-net related parts of the app.
/// </summary>
public static class Extensions public static class Extensions
{ {
/// <summary>
/// Get a connection string from the Configuration's section "Databse"
/// </summary>
/// <param name="config">The IConfiguration instance to load.</param>
/// <returns>A parsed connection string</returns>
public static string GetDatabaseConnection(this IConfiguration config) public static string GetDatabaseConnection(this IConfiguration config)
{ {
DbConnectionStringBuilder builder = new(); DbConnectionStringBuilder builder = new();