2 implementations of EnvironmentName
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEnvironment.cs (1)
14
public string
EnvironmentName
{ get; set; } = Extensions.Hosting.Environments.Production;
Microsoft.Extensions.Hosting (1)
Internal\HostingEnvironment.cs (1)
21
public string
EnvironmentName
{ get; set; } = string.Empty;
2 references to EnvironmentName
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostBuilderTests.cs (1)
615
Assert.Equal(expected, host.Services.GetService<Extensions.Hosting.IHostingEnvironment>().
EnvironmentName
);
Microsoft.Extensions.Hosting.Abstractions (1)
HostingEnvironmentExtensions.cs (1)
63
hostingEnvironment.
EnvironmentName
,