Beispiel #1
0
 public static MvcHtmlString RouteLink <TActionResult>(this HtmlHelper htmlHelper, string linkText, string routeName, Task <TActionResult> taskResult, IDictionary <string, object> htmlAttributes, string protocol, string hostName, string fragment) where TActionResult : ActionResult
 {
     return(T4Extensions.RouteLink(htmlHelper, linkText, routeName, taskResult.Result, htmlAttributes, protocol, hostName, fragment));
 }
Beispiel #2
0
 public static MvcHtmlString RouteLink <TActionResult>(this HtmlHelper htmlHelper, string linkText, string routeName, Task <TActionResult> taskResult, object htmlAttributes, string protocol, string hostName) where TActionResult : ActionResult
 {
     return(T4Extensions.RouteLink(htmlHelper, linkText, routeName, taskResult.Result, htmlAttributes, protocol, hostName, (string)null));
 }
Beispiel #3
0
 public static MvcHtmlString RouteLink <TActionResult>(this HtmlHelper htmlHelper, string linkText, string routeName, Task <TActionResult> taskResult, IDictionary <string, object> htmlAttributes) where TActionResult : ActionResult
 {
     return(T4Extensions.RouteLink(htmlHelper, linkText, routeName, taskResult.Result, htmlAttributes, (string)null, (string)null, (string)null));
 }
Beispiel #4
0
 public static MvcHtmlString RouteLink <TActionResult>(this AjaxHelper ajaxHelper, string linkText, string routeName, Task <TActionResult> taskResult, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes) where TActionResult : ActionResult
 {
     return(T4Extensions.RouteLink(ajaxHelper, linkText, routeName, taskResult.Result, ajaxOptions, htmlAttributes));
 }