示例#1
0
        public HtmlTag WrapWith(string tag)
        {
            var wrapper = new HtmlTag(tag);

            wrapper.Append(this);

            // Copies visibility and authorization from inner tag
            wrapper.Render(Render());
            wrapper.Authorized(Authorized());

            return(wrapper);
        }
 public TableTag AddFooterRow(Action <TableRowTag> configure)
 {
     _footer.Render(true);
     configure(_footer.Add <TableRowTag>());
     return(this);
 }