RazorViewEngineOptionsSetup(IHostingEnvironment) Constructor

Definition

Initializes a new instance of 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)

Parameters

hostingEnvironment
IHostingEnvironment

IHostingEnvironment for the application.

Applies to