Partager via


WebHostBuilderContext.HostingEnvironment Propriété

Définition

IWebHostEnvironment initialisé par le IWebHost.

public:
 property Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ HostingEnvironment { Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ get(); void set(Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ value); };
public:
 property Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ HostingEnvironment { Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ get(); void set(Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ value); };
public Microsoft.AspNetCore.Hosting.IHostingEnvironment HostingEnvironment { get; set; }
public Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment { get; set; }
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IHostingEnvironment with get, set
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IWebHostEnvironment with get, set
Public Property HostingEnvironment As IHostingEnvironment
Public Property HostingEnvironment As IWebHostEnvironment

Valeur de propriété

S’applique à