HostEnvironmentEnvExtensions extension
Extension methods for HostEnvironment.
Methods
-
isDevelopment(
) → bool - Checks if the current host environment name is Environments.development.
-
isEnvironment(
String environment) → bool - Compares the current host environment name against the specified value.
-
isProduction(
) → bool - Checks if the current host environment name is Environments.production.
-
isStaging(
) → bool - Checks if the current host environment name is Environments.staging.