Exemplo n.º 1
0
        private MarkdownContainer BuildCompareTable(EngineStyle style, IEnumerable <DataRow> rows, string title, ISampler <DataRow> sampler)
        {
            var tableBuilder = new CompareTableHelper(style);

            if (rows.Count() > 0)
            {
                return(BuildTable(tableBuilder, rows, title, sampler));
            }
            else
            {
                return(new MarkdownContainer());
            }
        }
Exemplo n.º 2
0
 public TableHelper(EngineStyle style)
 {
     this.style = style;
 }
Exemplo n.º 3
0
        private MarkdownContainer BuildTable(EngineStyle style, IEnumerable <DataRow> rows, ISampler <DataRow> sampler)
        {
            var tableBuilder = new TableHelper(style);

            return(BuildTable(tableBuilder, rows, string.Empty, sampler));
        }
Exemplo n.º 4
0
 public DataRowsMessageMarkdown(EngineStyle style, IDictionary <string, ISampler <DataRow> > samplers)
 {
     this.style    = style;
     this.samplers = samplers;
 }
Exemplo n.º 5
0
 public TableHelperMarkdown(EngineStyle style)
 {
     this.style = style;
 }
Exemplo n.º 6
0
 public CompareTableHelperMarkdown(EngineStyle style)
     : base(style)
 {
 }
Exemplo n.º 7
0
 public CompareTableHelper(EngineStyle style)
     : base(style)
 {
 }