예제 #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);
 }