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());
            }
        }
Beispiel #2
0
 public TableHelper(EngineStyle style)
 {
     this.style = style;
 }
        private MarkdownContainer BuildTable(EngineStyle style, IEnumerable <DataRow> rows, ISampler <DataRow> sampler)
        {
            var tableBuilder = new TableHelper(style);

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