我有一个ASP.NET MVC 3 Razor Web应用程序。从自定义HTML帮助程序访问WebViewPage
我有一个WebViewPage
扩展:
public static bool Blah(this WebViewPage webViewPage)
{
return blah && blah;
}
,我想从我的HtmlHelper
扩展访问此:
public static MvcHtmlString BlahHelper(this HtmlHelper htmlHelper, string linkText, string actionName)
{
// how can i get access to the WebViewPage extension method here?
}
我当然可以,如果复制WebViewPage
扩展的功能,我必须,但只是想知道是否可以从HTML助手访问它。
达林再次营救。谢谢哥们。 :) – RPM1984 2011-12-22 23:30:51