mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
12 lines
398 B
C#
12 lines
398 B
C#
using System.Web.Mvc;
|
|
using System.Web.WebPages;
|
|
|
|
namespace BuildFeed.Code
|
|
{
|
|
public static class MvcIntrinsics
|
|
{
|
|
public static AjaxHelper Ajax => ((WebViewPage)WebPageContext.Current.Page).Ajax;
|
|
public static HtmlHelper Html => ((WebViewPage)WebPageContext.Current.Page).Html;
|
|
public static UrlHelper Url => ((WebViewPage)WebPageContext.Current.Page).Url;
|
|
}
|
|
} |