RazorEngineHost.DecorateCodeParser(ParserBase) Method
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.
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.