Partilhar via


RazorViewEngineOptionsSetup(IHostingEnvironment) Construtor

Definição

Inicializa uma nova instância de 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)

Parâmetros

hostingEnvironment
IHostingEnvironment

IHostingEnvironment para o aplicativo.

Aplica-se a