Sdílet prostřednictvím


RazorViewEngineOptionsSetup(IHostingEnvironment) Konstruktor

Definice

Inicializuje novou instanci .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)

Parametry

hostingEnvironment
IHostingEnvironment

IHostingEnvironment pro aplikaci.

Platí pro