3 writes to _hostApplicationBuilder
Microsoft.AspNetCore (3)
WebApplicationBuilder.cs (3)
40
_hostApplicationBuilder
= new HostApplicationBuilder(new HostApplicationBuilderSettings
95
_hostApplicationBuilder
= Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings
156
_hostApplicationBuilder
= Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings
17 references to _hostApplicationBuilder
Microsoft.AspNetCore (17)
WebApplicationBuilder.cs (17)
59
var bootstrapHostBuilder = new BootstrapHostBuilder(
_hostApplicationBuilder
);
105
ApplyDefaultAppConfigurationSlim(
_hostApplicationBuilder
.Environment, configuration, options.Args);
106
AddDefaultServicesSlim(configuration,
_hostApplicationBuilder
.Services);
109
var serviceProviderFactory = GetServiceProviderFactory(
_hostApplicationBuilder
);
110
_hostApplicationBuilder
.ConfigureContainer(serviceProviderFactory);
122
var bootstrapHostBuilder = new BootstrapHostBuilder(
_hostApplicationBuilder
);
175
var bootstrapHostBuilder = new BootstrapHostBuilder(
_hostApplicationBuilder
);
221
webHostBuilder.UseSetting(WebHostDefaults.ApplicationKey,
_hostApplicationBuilder
.Environment.ApplicationName ?? "");
337
public IServiceCollection Services =>
_hostApplicationBuilder
.Services;
342
public ConfigurationManager Configuration =>
_hostApplicationBuilder
.Configuration;
347
public ILoggingBuilder Logging =>
_hostApplicationBuilder
.Logging;
352
public IMetricsBuilder Metrics =>
_hostApplicationBuilder
.Metrics;
366
IDictionary<object, object> IHostApplicationBuilder.Properties => ((IHostApplicationBuilder)
_hostApplicationBuilder
).Properties;
380
_hostApplicationBuilder
.Services.Add(_genericWebHostServiceDescriptor);
381
Host.ApplyServiceProviderFactory(
_hostApplicationBuilder
);
382
_builtApplication = new WebApplication(
_hostApplicationBuilder
.Build());
483
_hostApplicationBuilder
.ConfigureContainer(factory, configure);