18 lines
543 B
C#
18 lines
543 B
C#
namespace PARR.API.Installers
|
|
{
|
|
/// <summary>
|
|
/// Биндинги из конфига appsettings
|
|
/// </summary>
|
|
public static class SettingsInstaller
|
|
{
|
|
public static void InstallSettings(this IServiceCollection services, IConfiguration configuration)
|
|
{
|
|
//var storageSettings = new StorageSettings();
|
|
//configuration.GetSection(nameof(StorageSettings)).Bind(storageSettings);
|
|
//services.AddSingleton(storageSettings);
|
|
|
|
//TODO: add other
|
|
}
|
|
}
|
|
}
|