Share via


MvcWebPageRazorHost.DecorateCodeParser Method

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

Namespace:  System.Web.Mvc.Razor
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overrides Function DecorateCodeParser ( _
    incomingCodeParser As ParserBase _
) As ParserBase
'Usage
Dim instance As MvcWebPageRazorHost
Dim incomingCodeParser As ParserBase
Dim returnValue As ParserBase

returnValue = instance.DecorateCodeParser(incomingCodeParser)
public override ParserBase DecorateCodeParser(
    ParserBase incomingCodeParser
)
public:
virtual ParserBase^ DecorateCodeParser(
    ParserBase^ incomingCodeParser
) override
public override function DecorateCodeParser(
    incomingCodeParser : ParserBase
) : ParserBase

Parameters

Return Value

Type: System.Web.Razor.Parser.ParserBase
The ASP.NET MVC language-specific Razor code parser.

See Also

Reference

MvcWebPageRazorHost Class

System.Web.Mvc.Razor Namespace