Dela via


RazorEngineHost.DecorateMarkupParser(ParserBase) Method

Definition

Gets an instance of the markup parser and is provided an opportunity to decorate or replace it

public:
 virtual Microsoft::AspNetCore::Razor::Parser::ParserBase ^ DecorateMarkupParser(Microsoft::AspNetCore::Razor::Parser::ParserBase ^ incomingMarkupParser);
public virtual Microsoft.AspNetCore.Razor.Parser.ParserBase DecorateMarkupParser (Microsoft.AspNetCore.Razor.Parser.ParserBase incomingMarkupParser);
abstract member DecorateMarkupParser : Microsoft.AspNetCore.Razor.Parser.ParserBase -> Microsoft.AspNetCore.Razor.Parser.ParserBase
override this.DecorateMarkupParser : Microsoft.AspNetCore.Razor.Parser.ParserBase -> Microsoft.AspNetCore.Razor.Parser.ParserBase
Public Overridable Function DecorateMarkupParser (incomingMarkupParser As ParserBase) As ParserBase

Parameters

incomingMarkupParser
ParserBase

The markup parser

Returns

Either the same markup parser, after modifications, or a different markup parser

Applies to