C# Класс System.Web.Mvc.T4Extensions

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Action ( this htmlHelper, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.MvcHtmlString
Action ( this urlHelper, System.Web.Mvc.ActionResult result ) : string
ActionAbsolute ( this urlHelper, System.Web.Mvc.ActionResult result ) : string
ActionLink ( this htmlHelper, string linkText, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.MvcHtmlString
ActionLink ( this ajaxHelper, string linkText, System.Web.Mvc.ActionResult result, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions ) : System.Web.Mvc.MvcHtmlString
ActionLink ( this ajaxHelper, string linkText, System.Web.Mvc.ActionResult result, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object>.IDictionary htmlAttributes ) : System.Web.Mvc.MvcHtmlString
ActionLink ( this ajaxHelper, string linkText, System.Web.Mvc.ActionResult result, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
ActionLink ( this htmlHelper, string linkText, System.Web.Mvc.ActionResult result, object>.IDictionary htmlAttributes ) : System.Web.Mvc.MvcHtmlString
ActionLink ( this htmlHelper, string linkText, System.Web.Mvc.ActionResult result, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
AddRouteValue ( this result, string name, object value ) : System.Web.Mvc.ActionResult
AddRouteValues ( this result, RouteValueDictionary routeValues ) : System.Web.Mvc.ActionResult
AddRouteValues ( this result, System nameValueCollection ) : System.Web.Mvc.ActionResult
AddRouteValues ( this result, object routeValues ) : System.Web.Mvc.ActionResult
BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.Html.MvcForm
BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result, FormMethod formMethod ) : System.Web.Mvc.Html.MvcForm
BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result, FormMethod formMethod, object>.IDictionary htmlAttributes ) : System.Web.Mvc.Html.MvcForm
BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result, FormMethod formMethod, object htmlAttributes ) : System.Web.Mvc.Html.MvcForm
FileExists ( string virtualPath ) : bool
GetRouteValueDictionary ( this result ) : RouteValueDictionary
GetT4MVCResult ( this result ) : IT4MVCActionResult
InitMVCT4Result ( this result, string area, string controller, string action ) : void
MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result ) : Route
MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults ) : Route
MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints ) : Route
MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints, string namespaces ) : Route
MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults, string namespaces ) : Route
MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, string namespaces ) : Route
MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result ) : Route
MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults ) : Route
MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints ) : Route
MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints, string namespaces ) : Route
MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults, string namespaces ) : Route
MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, string namespaces ) : Route
RenderAction ( this htmlHelper, System.Web.Mvc.ActionResult result ) : void
TimestampString ( string virtualPath ) : string

Приватные методы

Метод Описание
CreateRoute ( string url, System.Web.Mvc.ActionResult result, object defaults, object constraints, string namespaces ) : Route

Описание методов

Action() публичный статический Метод

public static Action ( this htmlHelper, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.MvcHtmlString
htmlHelper this
result System.Web.Mvc.ActionResult
Результат System.Web.Mvc.MvcHtmlString

Action() публичный статический Метод

public static Action ( this urlHelper, System.Web.Mvc.ActionResult result ) : string
urlHelper this
result System.Web.Mvc.ActionResult
Результат string

ActionAbsolute() публичный статический Метод

public static ActionAbsolute ( this urlHelper, System.Web.Mvc.ActionResult result ) : string
urlHelper this
result System.Web.Mvc.ActionResult
Результат string

ActionLink() публичный статический Метод

public static ActionLink ( this htmlHelper, string linkText, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.MvcHtmlString
htmlHelper this
linkText string
result System.Web.Mvc.ActionResult
Результат System.Web.Mvc.MvcHtmlString

ActionLink() публичный статический Метод

public static ActionLink ( this ajaxHelper, string linkText, System.Web.Mvc.ActionResult result, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions ) : System.Web.Mvc.MvcHtmlString
ajaxHelper this
linkText string
result System.Web.Mvc.ActionResult
ajaxOptions System.Web.Mvc.Ajax.AjaxOptions
Результат System.Web.Mvc.MvcHtmlString

ActionLink() публичный статический Метод

public static ActionLink ( this ajaxHelper, string linkText, System.Web.Mvc.ActionResult result, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object>.IDictionary htmlAttributes ) : System.Web.Mvc.MvcHtmlString
ajaxHelper this
linkText string
result System.Web.Mvc.ActionResult
ajaxOptions System.Web.Mvc.Ajax.AjaxOptions
htmlAttributes object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

ActionLink() публичный статический Метод

public static ActionLink ( this ajaxHelper, string linkText, System.Web.Mvc.ActionResult result, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
ajaxHelper this
linkText string
result System.Web.Mvc.ActionResult
ajaxOptions System.Web.Mvc.Ajax.AjaxOptions
htmlAttributes object
Результат System.Web.Mvc.MvcHtmlString

ActionLink() публичный статический Метод

public static ActionLink ( this htmlHelper, string linkText, System.Web.Mvc.ActionResult result, object>.IDictionary htmlAttributes ) : System.Web.Mvc.MvcHtmlString
htmlHelper this
linkText string
result System.Web.Mvc.ActionResult
htmlAttributes object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

ActionLink() публичный статический Метод

public static ActionLink ( this htmlHelper, string linkText, System.Web.Mvc.ActionResult result, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
htmlHelper this
linkText string
result System.Web.Mvc.ActionResult
htmlAttributes object
Результат System.Web.Mvc.MvcHtmlString

AddRouteValue() публичный статический Метод

public static AddRouteValue ( this result, string name, object value ) : System.Web.Mvc.ActionResult
result this
name string
value object
Результат System.Web.Mvc.ActionResult

AddRouteValues() публичный статический Метод

public static AddRouteValues ( this result, RouteValueDictionary routeValues ) : System.Web.Mvc.ActionResult
result this
routeValues RouteValueDictionary
Результат System.Web.Mvc.ActionResult

AddRouteValues() публичный статический Метод

public static AddRouteValues ( this result, System nameValueCollection ) : System.Web.Mvc.ActionResult
result this
nameValueCollection System
Результат System.Web.Mvc.ActionResult

AddRouteValues() публичный статический Метод

public static AddRouteValues ( this result, object routeValues ) : System.Web.Mvc.ActionResult
result this
routeValues object
Результат System.Web.Mvc.ActionResult

BeginForm() публичный статический Метод

public static BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.Html.MvcForm
htmlHelper this
result System.Web.Mvc.ActionResult
Результат System.Web.Mvc.Html.MvcForm

BeginForm() публичный статический Метод

public static BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result, FormMethod formMethod ) : System.Web.Mvc.Html.MvcForm
htmlHelper this
result System.Web.Mvc.ActionResult
formMethod FormMethod
Результат System.Web.Mvc.Html.MvcForm

BeginForm() публичный статический Метод

public static BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result, FormMethod formMethod, object>.IDictionary htmlAttributes ) : System.Web.Mvc.Html.MvcForm
htmlHelper this
result System.Web.Mvc.ActionResult
formMethod FormMethod
htmlAttributes object>.IDictionary
Результат System.Web.Mvc.Html.MvcForm

BeginForm() публичный статический Метод

public static BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result, FormMethod formMethod, object htmlAttributes ) : System.Web.Mvc.Html.MvcForm
htmlHelper this
result System.Web.Mvc.ActionResult
formMethod FormMethod
htmlAttributes object
Результат System.Web.Mvc.Html.MvcForm

FileExists() публичный статический Метод

public static FileExists ( string virtualPath ) : bool
virtualPath string
Результат bool

GetRouteValueDictionary() публичный статический Метод

public static GetRouteValueDictionary ( this result ) : RouteValueDictionary
result this
Результат RouteValueDictionary

GetT4MVCResult() публичный статический Метод

public static GetT4MVCResult ( this result ) : IT4MVCActionResult
result this
Результат IT4MVCActionResult

InitMVCT4Result() публичный статический Метод

public static InitMVCT4Result ( this result, string area, string controller, string action ) : void
result this
area string
controller string
action string
Результат void

MapRoute() публичный статический Метод

public static MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result ) : Route
routes this
name string
url string
result System.Web.Mvc.ActionResult
Результат System.Web.Routing.Route

MapRoute() публичный статический Метод

public static MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults ) : Route
routes this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
Результат System.Web.Routing.Route

MapRoute() публичный статический Метод

public static MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints ) : Route
routes this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
constraints object
Результат System.Web.Routing.Route

MapRoute() публичный статический Метод

public static MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints, string namespaces ) : Route
routes this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
constraints object
namespaces string
Результат System.Web.Routing.Route

MapRoute() публичный статический Метод

public static MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, object defaults, string namespaces ) : Route
routes this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
namespaces string
Результат System.Web.Routing.Route

MapRoute() публичный статический Метод

public static MapRoute ( this routes, string name, string url, System.Web.Mvc.ActionResult result, string namespaces ) : Route
routes this
name string
url string
result System.Web.Mvc.ActionResult
namespaces string
Результат System.Web.Routing.Route

MapRouteArea() публичный статический Метод

public static MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result ) : Route
context this
name string
url string
result System.Web.Mvc.ActionResult
Результат System.Web.Routing.Route

MapRouteArea() публичный статический Метод

public static MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults ) : Route
context this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
Результат System.Web.Routing.Route

MapRouteArea() публичный статический Метод

public static MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints ) : Route
context this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
constraints object
Результат System.Web.Routing.Route

MapRouteArea() публичный статический Метод

public static MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults, object constraints, string namespaces ) : Route
context this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
constraints object
namespaces string
Результат System.Web.Routing.Route

MapRouteArea() публичный статический Метод

public static MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, object defaults, string namespaces ) : Route
context this
name string
url string
result System.Web.Mvc.ActionResult
defaults object
namespaces string
Результат System.Web.Routing.Route

MapRouteArea() публичный статический Метод

public static MapRouteArea ( this context, string name, string url, System.Web.Mvc.ActionResult result, string namespaces ) : Route
context this
name string
url string
result System.Web.Mvc.ActionResult
namespaces string
Результат System.Web.Routing.Route

RenderAction() публичный статический Метод

public static RenderAction ( this htmlHelper, System.Web.Mvc.ActionResult result ) : void
htmlHelper this
result System.Web.Mvc.ActionResult
Результат void

TimestampString() публичный статический Метод

public static TimestampString ( string virtualPath ) : string
virtualPath string
Результат string