RazorEngineHost.DecorateMarkupParser(ParserBase) Method

Definition

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

C#
public virtual Microsoft.AspNetCore.Razor.Parser.ParserBase DecorateMarkupParser (Microsoft.AspNetCore.Razor.Parser.ParserBase incomingMarkupParser);

Parameters

incomingMarkupParser
ParserBase

The markup parser

Returns

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

Applies to

Product Versions
ASP.NET Core 1.0, 1.1