Implemented interface member:
property
Environment
Microsoft.Extensions.Hosting.IHostApplicationBuilder.Environment
9 references to Environment
Aspire.Hosting (4)
DistributedApplicationBuilder.cs (3)
55public IHostEnvironment Environment => _innerBuilder.Environment; 151AppHostDirectory = options.ProjectDirectory ?? _innerBuilder.Environment.ContentRootPath; 152var appHostName = options.ProjectName ?? _innerBuilder.Environment.ApplicationName;
IDistributedApplicationBuilder.cs (1)
68/// <inheritdoc cref="HostApplicationBuilder.Environment" />
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
253/// <inheritdoc cref="HostApplicationBuilder.Environment" />
Microsoft.AspNetCore (3)
WebApplicationBuilder.cs (3)
105ApplyDefaultAppConfigurationSlim(_hostApplicationBuilder.Environment, configuration, options.Args); 221webHostBuilder.UseSetting(WebHostDefaults.ApplicationKey, _hostApplicationBuilder.Environment.ApplicationName ?? ""); 229if (hostApplicationBuilder.Environment.IsDevelopment())
Microsoft.Extensions.Hosting (1)
HostApplicationBuilderSettings.cs (1)
49/// the <see cref="HostApplicationBuilder.Environment"/> through the use of <see cref="HostDefaults"/> keys. Disposing the built