다음을 통해 공유


RazorEngineHost.DecorateCodeParser(ParserBase) 메서드

정의

코드 파서의 instance 가져오고 이를 데코레이트하거나 바꿀 수 있는 기회가 제공됩니다.

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

코드 파서

반환

동일한 코드 파서, 수정 후 또는 다른 코드 파서

적용 대상