Share via


WebAssemblyHostEnvironmentExtensions Class

Definition

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 Development.

IsEnvironment(IWebAssemblyHostEnvironment, String)

Compares the current hosting environment name against the specified value.

IsProduction(IWebAssemblyHostEnvironment)

Checks if the current hosting environment name is Production.

IsStaging(IWebAssemblyHostEnvironment)

Checks if the current hosting environment name is Staging.

Applies to