MvcWebPageRazorHost.DecorateCodeParser(ParserBase) 方法

定义

使用指定语言分析器返回 ASP.NET MVC 语言特定的 Razor 代码分析器。

public override System.Web.Razor.Parser.ParserBase DecorateCodeParser(System.Web.Razor.Parser.ParserBase incomingCodeParser);
override this.DecorateCodeParser : System.Web.Razor.Parser.ParserBase -> System.Web.Razor.Parser.ParserBase
Public Overrides Function DecorateCodeParser (incomingCodeParser As ParserBase) As ParserBase

参数

incomingCodeParser
ParserBase

C# 或 Visual Basic 代码分析器。

返回

ASP.NET MVC 语言特定的 Razor 代码分析器。

适用于