Freigeben über


RazorViewEngineOptionsSetup(IHostingEnvironment) Konstruktor

Definition

Initialisiert eine neue Instanz von RazorViewEngineOptions.

public:
 RazorViewEngineOptionsSetup(Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment);
public RazorViewEngineOptionsSetup (Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.RazorViewEngineOptionsSetup : Microsoft.AspNetCore.Hosting.IHostingEnvironment -> Microsoft.AspNetCore.Mvc.RazorViewEngineOptionsSetup
Public Sub New (hostingEnvironment As IHostingEnvironment)

Parameter

hostingEnvironment
IHostingEnvironment

IHostingEnvironment für die Anwendung.

Gilt für: