RazorEngineHost Constructors

Definition

Overloads

RazorEngineHost()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the RazorEngineHost class.

RazorEngineHost(RazorCodeLanguage)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the RazorEngineHost class.

RazorEngineHost(RazorCodeLanguage, Func<ParserBase>)

Initializes a new instance of the RazorEngineHost class.

RazorEngineHost()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the RazorEngineHost class.

protected RazorEngineHost ();
Protected Sub New ()

Applies to

RazorEngineHost(RazorCodeLanguage)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the RazorEngineHost class.

public RazorEngineHost (System.Web.Razor.RazorCodeLanguage codeLanguage);
new System.Web.Razor.RazorEngineHost : System.Web.Razor.RazorCodeLanguage -> System.Web.Razor.RazorEngineHost
Public Sub New (codeLanguage As RazorCodeLanguage)

Parameters

codeLanguage
RazorCodeLanguage

The specified code language.

Applies to

RazorEngineHost(RazorCodeLanguage, Func<ParserBase>)

Initializes a new instance of the RazorEngineHost class.

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

Parameters

codeLanguage
RazorCodeLanguage

The specified code language.

markupParserFactory
Func<ParserBase>

The markup parser factory.

Applies to