RazorEngineHost.DecorateMarkupParser(ParserBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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