public DefaultAppConfigurationAccessor()
 {
     Configuration = AppConfigurations.Get(Directory.GetCurrentDirectory());
 }
예제 #2
0
 public static IConfigurationRoot GetAppConfiguration(this IHostingEnvironment env)
 {
     return(AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment()));
 }