Exemple #1
0
 public DefaultAppConfigurationAccessor()
 {
     Configuration = AppConfigurations.Get(Directory.GetCurrentDirectory());
 }
 public static IConfigurationRoot GetAppConfiguration(this IWebHostEnvironment env)
 {
     return(AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment()));
 }