Share via


RazorEngineHost.DecorateMarkupParser Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns the method to decorate markup parser using the specified language parser.

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

Syntax

'Declaration
Public Overridable Function DecorateMarkupParser ( _
    incomingMarkupParser As ParserBase _
) As ParserBase
'Usage
Dim instance As RazorEngineHost 
Dim incomingMarkupParser As ParserBase 
Dim returnValue As ParserBase 

returnValue = instance.DecorateMarkupParser(incomingMarkupParser)
public virtual ParserBase DecorateMarkupParser(
    ParserBase incomingMarkupParser
)
public:
virtual ParserBase^ DecorateMarkupParser(
    ParserBase^ incomingMarkupParser
)
abstract DecorateMarkupParser : 
        incomingMarkupParser:ParserBase -> ParserBase  
override DecorateMarkupParser : 
        incomingMarkupParser:ParserBase -> ParserBase
public function DecorateMarkupParser(
    incomingMarkupParser : ParserBase
) : ParserBase

Parameters

Return Value

Type: System.Web.Razor.Parser.ParserBase
The method to decorate markup parser using the specified language parser.

See Also

Reference

RazorEngineHost Class

System.Web.Razor Namespace