WebHostBuilderContext.HostingEnvironment Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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