3 writes to Configuration
Microsoft.Extensions.Hosting (3)
HostApplicationBuilder.cs (1)
171Configuration = Configuration,
HostBuilder.cs (2)
272Configuration = _hostConfiguration! 288_hostBuilderContext!.Configuration = _appConfiguration;
13 references to Configuration
Microsoft.AspNetCore.Hosting (3)
GenericHost\WebHostBuilderBase.cs (3)
79var options = new WebHostOptions(context.Configuration, fallbackConfiguration: _config, environment: context.HostingEnvironment); 82Configuration = context.Configuration, 93webHostContext.Configuration = context.Configuration;
Microsoft.Extensions.AmbientMetadata.Application (1)
ApplicationMetadataHostBuilderExtensions.cs (1)
33.ConfigureServices((hostBuilderContext, serviceCollection) => serviceCollection.AddApplicationMetadata(hostBuilderContext.Configuration.GetSection(sectionName)));
Microsoft.Extensions.Hosting (6)
HostBuilder.cs (2)
73/// the results will be additive. The results will be available at <see cref="HostBuilderContext.Configuration"/> for 328services.AddOptions().Configure<HostOptions>(options => { options.Initialize(hostBuilderContext.Configuration); });
HostingHostBuilderExtensions.cs (4)
139/// the results will be additive. The results will be available at <see cref="HostBuilderContext.Configuration"/> for 262static bool GetReloadConfigOnChangeValue(HostBuilderContext hostingContext) => hostingContext.Configuration.GetValue("hostBuilder:reloadConfigOnChange", defaultValue: true); 294logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging")); 321metrics.AddConfiguration(hostingContext.Configuration.GetSection("Metrics"));
Microsoft.Extensions.Hosting.Abstractions (1)
IHostBuilder.cs (1)
32/// the results will be additive. The results will be available at <see cref="HostBuilderContext.Configuration"/> for
Microsoft.Extensions.Telemetry.Tests (2)
Enrichment\ApplicationEnricherExtensionsTests.cs (1)
81.AddServiceLogEnricher(context.Configuration.GetSection("Serviceenrichersection")))
Enrichment\ProcessEnricherExtensionsTests.cs (1)
79.AddProcessLogEnricher(context.Configuration.GetSection(TestSectionName)))