9 references to Staging
Microsoft.AspNetCore.Hosting.Tests (3)
WebHostTests.cs (3)
815
{ "Environment", Environments.
Staging
}
828
Assert.Equal(Environments.
Staging
, env.EnvironmentName);
829
Assert.Equal(Environments.
Staging
, env.EnvironmentName);
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
SimpleWithWebApplicationBuilderTests.cs (1)
184
builder.UseEnvironment(Environments.
Staging
);
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
2278
EnvironmentName = Environments.
Staging
,
2297
Assert.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>
34
return hostEnvironment.IsEnvironment(Environments.
Staging
);