Exemplo n.º 1
0
 public ColumnFrameTableGenerator(
     ColumnFrame columnFrame,
     int maxColumns              = 10,
     int maxRows                 = 10,
     IStringifier stringifier    = null,
     string customTableClassName = null,
     string customCss            = null)
     : base(maxColumns, maxRows, stringifier, customTableClassName, customCss)
 {
     _columnFrame = columnFrame;
 }
        public static Representations.VerbatimHtml AsTable(
            this ColumnFrame table,
            int maxColumns              = 10,
            int maxRows                 = 10,
            IStringifier stringifier    = null,
            string customTableClassName = null,
            string customCss            = null)
        {
            var generator = new ColumnFrameTableGenerator(
                table,
                maxColumns,
                maxRows,
                stringifier,
                customTableClassName,
                customCss);

            return(generator.GenerateHtml());
        }