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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for