Exemple #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);
        }
Exemple #2
0
 public TableTag AddFooterRow(Action <TableRowTag> configure)
 {
     _footer.Render(true);
     configure(_footer.Add <TableRowTag>());
     return(this);
 }