Esempio n. 1
0
 public static MvcHtmlString IconActionLink(this HtmlHelper helper, FaIcons icon, string actionName, object routeValues)
 {
     return IconActionLink(helper, "fa " + icon.ToDescription(), "", actionName, null, routeValues);
 }
 public static MvcHtmlString Icon(this HtmlHelper helper, FaIcons icon, List<FaAttribute> faAttributes)
 {
     return MvcHtmlString.Create(string.Format("<span class=\"fa {0}\"></span>", icon.ToDescription()));
 }
Esempio n. 3
0
 public static MvcHtmlString IconActionLink(this HtmlHelper helper, FaIcons icon, string actionName,
       string controllerName, object routeValues = null, object htmlAttributes = null)
 {
     return IconActionLink(helper, "fa " + icon.ToDescription(), "", actionName, controllerName, routeValues, htmlAttributes);
 }