RazorTemplateEngine(RazorEngineHost) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a new RazorTemplateEngine with the specified host
public:
RazorTemplateEngine(Microsoft::AspNetCore::Razor::RazorEngineHost ^ host);
public RazorTemplateEngine (Microsoft.AspNetCore.Razor.RazorEngineHost host);
new Microsoft.AspNetCore.Razor.RazorTemplateEngine : Microsoft.AspNetCore.Razor.RazorEngineHost -> Microsoft.AspNetCore.Razor.RazorTemplateEngine
Public Sub New (host As RazorEngineHost)
Parameters
- host
- RazorEngineHost
The host which defines the environment in which the generated template code will live.