Esempio n. 1
0
 public static IHtmlString IconHtml(BtIcon icon, string text)
 {
     return(new MvcHtmlString(String.Format("<i class='{0}'>{1}</i>", icon, text)));
 }
Esempio n. 2
0
 public static IHtmlString IconHtml(BtIcon icon, string text, IDictionary <string, string> attributes)
 {
     return(new MvcHtmlString(String.Format("<i class='{0}' {2}>{1}</i>", icon, text, CreateAttributes(attributes))));
 }
Esempio n. 3
0
 public static IHtmlString IconHtml(BtIcon icon)
 {
     return(new MvcHtmlString(String.Format("<i class='{0}'></i>", icon)));
 }