Compartilhar via


RazorEngineHost Construtores

Definição

Sobrecargas

RazorEngineHost()
RazorEngineHost(RazorCodeLanguage)

Cria um host que usa a linguagem de código especificada e a linguagem de marcação HTML

RazorEngineHost(RazorCodeLanguage, Func<ParserBase>)

RazorEngineHost()

protected:
 RazorEngineHost();
protected RazorEngineHost ();
Protected Sub New ()

Aplica-se a

RazorEngineHost(RazorCodeLanguage)

Cria um host que usa a linguagem de código especificada e a linguagem de marcação HTML

public:
 RazorEngineHost(Microsoft::AspNetCore::Razor::RazorCodeLanguage ^ codeLanguage);
public RazorEngineHost (Microsoft.AspNetCore.Razor.RazorCodeLanguage codeLanguage);
new Microsoft.AspNetCore.Razor.RazorEngineHost : Microsoft.AspNetCore.Razor.RazorCodeLanguage -> Microsoft.AspNetCore.Razor.RazorEngineHost
Public Sub New (codeLanguage As RazorCodeLanguage)

Parâmetros

codeLanguage
RazorCodeLanguage

A linguagem de código a ser usada

Aplica-se a

RazorEngineHost(RazorCodeLanguage, Func<ParserBase>)

public:
 RazorEngineHost(Microsoft::AspNetCore::Razor::RazorCodeLanguage ^ codeLanguage, Func<Microsoft::AspNetCore::Razor::Parser::ParserBase ^> ^ markupParserFactory);
public RazorEngineHost (Microsoft.AspNetCore.Razor.RazorCodeLanguage codeLanguage, Func<Microsoft.AspNetCore.Razor.Parser.ParserBase> markupParserFactory);
new Microsoft.AspNetCore.Razor.RazorEngineHost : Microsoft.AspNetCore.Razor.RazorCodeLanguage * Func<Microsoft.AspNetCore.Razor.Parser.ParserBase> -> Microsoft.AspNetCore.Razor.RazorEngineHost
Public Sub New (codeLanguage As RazorCodeLanguage, markupParserFactory As Func(Of ParserBase))

Parâmetros

codeLanguage
RazorCodeLanguage
markupParserFactory
Func<ParserBase>

Aplica-se a