RazorEngineHost Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for