Partager via


RazorViewEngineOptionsSetup(IHostingEnvironment) Constructeur

Définition

Initialise une nouvelle instance 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)

Paramètres

hostingEnvironment
IHostingEnvironment

IHostingEnvironment pour l’application.

S’applique à