WebAssemblyHostEnvironmentExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Static class that adds extension methods to IWebAssemblyHostEnvironment.
public ref class WebAssemblyHostEnvironmentExtensions abstract sealed
public static class WebAssemblyHostEnvironmentExtensions
type WebAssemblyHostEnvironmentExtensions = class
Public Module WebAssemblyHostEnvironmentExtensions
- Inheritance
-
WebAssemblyHostEnvironmentExtensions
Methods
IsDevelopment(IWebAssemblyHostEnvironment) |
Checks if the current hosting environment name is |
IsEnvironment(IWebAssemblyHostEnvironment, String) |
Compares the current hosting environment name against the specified value. |
IsProduction(IWebAssemblyHostEnvironment) |
Checks if the current hosting environment name is |
IsStaging(IWebAssemblyHostEnvironment) |
Checks if the current hosting environment name is |