MvcWebPageRazorHost.DecorateCodeParser(ParserBase) Method

Definition

Returns the ASP.NET MVC language-specific Razor code parser using the specified language parser.

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

Parameters

incomingCodeParser
ParserBase

The C# or Visual Basic code parser.

Returns

The ASP.NET MVC language-specific Razor code parser.

Applies to