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
- incomingMarkupParser
Type: System.Web.Razor.Parser.ParserBase
The C# or Visual Basic code parser.
Return Value
Type: System.Web.Razor.Parser.ParserBase
The method to decorate markup parser using the specified language parser.