RazorEngineHost.DecorateCodeParser(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 code parser and is provided an opportunity to decorate or replace it
public:
virtual Microsoft::AspNetCore::Razor::Parser::ParserBase ^ DecorateCodeParser(Microsoft::AspNetCore::Razor::Parser::ParserBase ^ incomingCodeParser);
public virtual Microsoft.AspNetCore.Razor.Parser.ParserBase DecorateCodeParser (Microsoft.AspNetCore.Razor.Parser.ParserBase incomingCodeParser);
abstract member DecorateCodeParser : Microsoft.AspNetCore.Razor.Parser.ParserBase -> Microsoft.AspNetCore.Razor.Parser.ParserBase
override this.DecorateCodeParser : Microsoft.AspNetCore.Razor.Parser.ParserBase -> Microsoft.AspNetCore.Razor.Parser.ParserBase
Public Overridable Function DecorateCodeParser (incomingCodeParser As ParserBase) As ParserBase
Parameters
- incomingCodeParser
- ParserBase
The code parser
Returns
Either the same code parser, after modifications, or a different code 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