Delen via


RazorTemplateEngine(RazorEngineHost) Constructor

Definition

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.

Applies to