public EFConfigurationSource(ISettingsContextFactory <T> factory)
 {
     _factory = factory;
 }
Esempio n. 2
0
 public static IConfigurationBuilder AddEntityFrameworkConfig <T>(this IConfigurationBuilder builder, ISettingsContextFactory <T> factory)
     where T : class, ISetting
 {
     return(builder.Add(new EFConfigurationSource <T>(factory)));
 }
Esempio n. 3
0
 public EFConfigurationProvider(ISettingsContextFactory <T> factory)
 {
     _factory = factory;
 }