Partager via


RazorEngineHost Constructeurs

Définition

Surcharges

RazorEngineHost()
RazorEngineHost(RazorCodeLanguage)

Crée un hôte qui utilise le langage de code spécifié et le langage de balisage HTML

RazorEngineHost(RazorCodeLanguage, Func<ParserBase>)

RazorEngineHost()

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

S’applique à

RazorEngineHost(RazorCodeLanguage)

Crée un hôte qui utilise le langage de code spécifié et le langage de balisage 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)

Paramètres

codeLanguage
RazorCodeLanguage

Langage de code à utiliser

S’applique à

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))

Paramètres

codeLanguage
RazorCodeLanguage
markupParserFactory
Func<ParserBase>

S’applique à