コード例 #1
0
        public IHtmlHelper CreateGlyph(GlyphType type, string id = "", string @class = "")
        {
            var g = new BootstrapGlyph(type);

            g.Id = id;
            g.Classes.Add(@class);

            return(RenderToPage(g));
        }
コード例 #2
0
        public MvcHtmlString Glyph(GlyphType type, string id = "", string @class = "")
        {
            var g = new BootstrapGlyph(type);

            g.Id = id;
            g.Classes.Add(@class);

            return(Render(g));
        }
コード例 #3
0
 public IHtmlHelper CreateGlyph(BootstrapGlyph glyph)
 {
     return(RenderToPage(glyph));
 }
コード例 #4
0
 public MvcHtmlString Glyph(BootstrapGlyph glyph)
 {
     return(Render(glyph));
 }