次の方法で共有


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 コード パーサー。

適用対象