20 lines
569 B
C#
20 lines
569 B
C#
using PARR.API.Settings;
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|