public static MvcHtmlString ActionLink <TActionResult>(this HtmlHelper htmlHelper, string linkText, Task <TActionResult> taskResult, IDictionary <string, object> htmlAttributes, string protocol, string hostName, string fragment) where TActionResult : ActionResult { return(LinkExtensions.RouteLink(htmlHelper, linkText, (string)null, protocol ?? T4Extensions.GetT4MVCResult(taskResult.Result).Protocol, hostName, fragment, T4Extensions.GetRouteValueDictionary(taskResult.Result), htmlAttributes)); }