RazorEngineHost.DecorateCodeParser(ParserBase) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the methods as language-specific Razor code parser using the specified language parser.

public virtual System.Web.Razor.Parser.ParserBase DecorateCodeParser (System.Web.Razor.Parser.ParserBase incomingCodeParser);
abstract member DecorateCodeParser : System.Web.Razor.Parser.ParserBase -> System.Web.Razor.Parser.ParserBase
override this.DecorateCodeParser : System.Web.Razor.Parser.ParserBase -> System.Web.Razor.Parser.ParserBase
Public Overridable Function DecorateCodeParser (incomingCodeParser As ParserBase) As ParserBase

Parameters

incomingCodeParser
ParserBase

The C# or Visual Basic code parser.

Returns

The methods as language-specific Razor code parser using the specified language parser.

Applies to