Taal

HostEnvironmentEnvExtensions Klas

Definitie

Extensiemethoden voor IHostEnvironment.

public ref class HostEnvironmentEnvExtensions abstract sealed
public static class HostEnvironmentEnvExtensions
type HostEnvironmentEnvExtensions = class
Public Module HostEnvironmentEnvExtensions
Overname
HostEnvironmentEnvExtensions

Methoden

Naam Description
IsDevelopment(IHostEnvironment)

Controleert of de naam van de huidige hostomgeving is Development.

IsEnvironment(IHostEnvironment, String)

Vergelijkt de naam van de huidige hostomgeving met de opgegeven waarde.

IsProduction(IHostEnvironment)

Controleert of de naam van de huidige hostomgeving is Production.

IsStaging(IHostEnvironment)

Controleert of de naam van de huidige hostomgeving is Staging.

Van toepassing op