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