HostingEnvironment Klas

Definitie

Deze API ondersteunt infrastructuur en is niet bedoeld om rechtstreeks vanuit uw code te worden gebruikt. Deze API kan in toekomstige releases worden gewijzigd of verwijderd.

public ref class HostingEnvironment : Microsoft::Extensions::Hosting::IHostEnvironment, Microsoft::Extensions::Hosting::IHostingEnvironment
public class HostingEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment, Microsoft.Extensions.Hosting.IHostingEnvironment
type HostingEnvironment = class
    interface IHostingEnvironment
    interface IHostEnvironment
Public Class HostingEnvironment
Implements IHostEnvironment, IHostingEnvironment
Overname
HostingEnvironment
Implementeringen

Constructors

Name Description
HostingEnvironment()

Deze API ondersteunt infrastructuur en is niet bedoeld om rechtstreeks vanuit uw code te worden gebruikt. Deze API kan in toekomstige releases worden gewijzigd of verwijderd.

Eigenschappen

Name Description
ApplicationName

Deze API ondersteunt infrastructuur en is niet bedoeld om rechtstreeks vanuit uw code te worden gebruikt. Deze API kan in toekomstige releases worden gewijzigd of verwijderd.

ContentRootFileProvider

Deze API ondersteunt infrastructuur en is niet bedoeld om rechtstreeks vanuit uw code te worden gebruikt. Deze API kan in toekomstige releases worden gewijzigd of verwijderd.

ContentRootPath

Deze API ondersteunt infrastructuur en is niet bedoeld om rechtstreeks vanuit uw code te worden gebruikt. Deze API kan in toekomstige releases worden gewijzigd of verwijderd.

EnvironmentName

Deze API ondersteunt infrastructuur en is niet bedoeld om rechtstreeks vanuit uw code te worden gebruikt. Deze API kan in toekomstige releases worden gewijzigd of verwijderd.

Extensiemethoden

Name Description
IsDevelopment(IHostEnvironment)

Controleert of de naam van de huidige hostomgeving is Development.

IsDevelopment(IHostingEnvironment)

Controleert of de naam van de huidige hostingomgeving is Development.

IsEnvironment(IHostEnvironment, String)

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

IsEnvironment(IHostingEnvironment, String)

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

IsProduction(IHostEnvironment)

Controleert of de naam van de huidige hostomgeving is Production.

IsProduction(IHostingEnvironment)

Controleert of de naam van de huidige hostingomgeving is Production.

IsStaging(IHostEnvironment)

Controleert of de naam van de huidige hostomgeving is Staging.

IsStaging(IHostingEnvironment)

Controleert of de naam van de huidige hostingomgeving is Staging.

Van toepassing op