示例#1
0
 //public static MvcHtmlString ActionLinkEx(this HtmlHelper htmlHelper, string linkText, string actionName, string controllerName, string protocol, string hostName, string fragment, RouteValueDictionary routeValues, IDictionary<string, object> htmlAttributes) { return ActionLinkEx(htmlHelper, x => linkText, actionName, controllerName, protocol, hostName, fragment, routeValues, htmlAttributes); }
 public static MvcHtmlString ActionLinkEx(this HtmlHelper htmlHelper, Func <IDynamicNode, string> linkText, string actionName, string controllerName, string protocol, string hostName, string fragment, RouteValueDictionary routeValues, IDictionary <string, object> htmlAttributes)
 {
     return(MvcHtmlString.Create(HtmlHelperEx.GenerateLink(htmlHelper.ViewContext.RequestContext, htmlHelper.RouteCollection, linkText, null, actionName, controllerName, protocol, hostName, fragment, routeValues, htmlAttributes)));
 }