9 references to Staging
Microsoft.AspNetCore.Hosting.Tests (3)
WebHostTests.cs (3)
815{ "Environment", Environments.Staging } 828Assert.Equal(Environments.Staging, env.EnvironmentName); 829Assert.Equal(Environments.Staging, env.EnvironmentName);
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
SimpleWithWebApplicationBuilderTests.cs (1)
184builder.UseEnvironment(Environments.Staging);
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
2278EnvironmentName = Environments.Staging, 2297Assert.Equal(Environments.Staging, hostEnv.EnvironmentName);
Microsoft.Extensions.Hosting.Abstractions (3)
HostEnvironmentEnvExtensions.cs (3)
26/// Checks if the current host environment name is <see cref="Environments.Staging"/>. 29/// <returns><see langword="true"/> if the environment name is <see cref="Environments.Staging"/>, otherwise <see langword="false"/>.</returns> 34return hostEnvironment.IsEnvironment(Environments.Staging);