Action() public static method

public static Action ( this htmlHelper, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.MvcHtmlString
htmlHelper this
result System.Web.Mvc.ActionResult
return System.Web.Mvc.MvcHtmlString
コード例 #1
0
 public static string Action <TActionResult>(this UrlHelper urlHelper, Task <TActionResult> taskResult) where TActionResult : ActionResult
 {
     return(T4Extensions.Action(urlHelper, taskResult.Result, (string)null, (string)null));
 }
コード例 #2
0
 public static string Action <TActionResult>(this UrlHelper urlHelper, Task <TActionResult> taskResult, string protocol = null, string hostName = null) where TActionResult : ActionResult
 {
     return(T4Extensions.Action(urlHelper, taskResult.Result, protocol, hostName));
 }
コード例 #3
0
 public static MvcHtmlString Action <TActionResult>(this HtmlHelper htmlHelper, Task <TActionResult> taskResult) where TActionResult : ActionResult
 {
     return(T4Extensions.Action(htmlHelper, taskResult.Result));
 }