3 references to Production
Microsoft.Extensions.Hosting.Abstractions (3)
HostingEnvironmentExtensions.cs (3)
39
/// Checks if the current hosting environment name is <see cref="EnvironmentName.
Production
"/>.
42
/// <returns><see langword="true" /> if the environment name is <see cref="EnvironmentName.
Production
"/>, otherwise <see langword="false" />.</returns>
47
return hostingEnvironment.IsEnvironment(EnvironmentName.
Production
);