public MvcHtmlString Icon(BootStrapIcon Icon) { return this.Icon(Icon, false, (object)null); }
public MvcHtmlString Icon(BootStrapIcon Icon, bool White) { return this.Icon(Icon, White, (object)null); }
public MvcHtmlString Icon(BootStrapIcon Icon, bool White, object HtmlAttributes) { TagBuilder tag = new TagBuilder("i"); if (White) { tag.AddCssClass("icon-white"); } tag.AddCssClass("icon-" + Icon.ToString()); tag.MergeAttributes(HtmlHelper.AnonymousObjectToHtmlAttributes(HtmlAttributes), true); return new MvcHtmlString(tag.ToString(TagRenderMode.Normal)); }