Implemented interface member:
property
Environment
Microsoft.Extensions.Hosting.IHostApplicationBuilder.Environment
9 references to Environment
Aspire.Hosting (4)
DistributedApplicationBuilder.cs (3)
56public IHostEnvironment Environment => _innerBuilder.Environment; 154AppHostDirectory = options.ProjectDirectory ?? _innerBuilder.Environment.ContentRootPath; 155var appHostName = options.ProjectName ?? _innerBuilder.Environment.ApplicationName;
IDistributedApplicationBuilder.cs (1)
68/// <inheritdoc cref="HostApplicationBuilder.Environment" />
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
256/// <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