IsNonProduction Method
Definition
- Namespace
- Cuemon.Extensions.Hosting
- Assemblies
- Cuemon.Extensions.Hosting.dll
IsNonProduction(IHostEnvironment)
Determines whether the specified environment is different from Production.
public static bool IsNonProduction(this IHostEnvironment environment)
Parameters
environmentIHostEnvironmentThe IHostingEnvironment to extend.
Returns
- bool
trueifenvironmentis notProduction; otherwisefalse