次の方法で共有


RazorEngineHost.DecorateCodeParser(ParserBase) メソッド

定義

コード パーサーのインスタンスを取得し、装飾または置き換える機会が提供されます

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

パラメーター

incomingCodeParser
ParserBase

コード パーサー

戻り値

変更後の同じコード パーサー、または別のコード パーサー

適用対象