Udostępnij za pośrednictwem


RazorViewEngineOptionsSetup(IHostingEnvironment) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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 dla aplikacji.

Dotyczy