Partilhar via


RazorTemplateEngine(RazorEngineHost) Construtor

Definição

Constrói um novo RazorTemplateEngine com o host especificado

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)

Parâmetros

host
RazorEngineHost

O host que define o ambiente no qual o código de modelo gerado viverá.

Aplica-se a