Exemplo n.º 1
0
 private static IConfigurationBuilder ConfigurationSetup(IConfigurationBuilder builder, string configsPath, string environmentName) =>
 builder
 .AddDefaultConfigs(configsPath, environmentName)
 .AddCiDependentSettings(environmentName);
 public static IConfigurationBuilder AddDefaultConfigs(
     this IConfigurationBuilder configurationBuilder,
     IHostEnvironment hostEnvironment)
 {
     return(configurationBuilder.AddDefaultConfigs(hostEnvironment.ContentRootPath, hostEnvironment.EnvironmentName));
 }