Пример #1
0
 public static MvcHtmlString IconActionLink(this HtmlHelper helper, FaIcons icon, string actionName, object routeValues)
 {
     return IconActionLink(helper, "fa " + icon.ToDescription(), "", actionName, null, routeValues);
 }
Пример #2
0
 public static MvcHtmlString Icon(this HtmlHelper helper, FaIcons icon, List<FaAttribute> faAttributes)
 {
     return MvcHtmlString.Create(string.Format("<span class=\"fa {0}\"></span>", icon.ToDescription()));
 }
Пример #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);
 }