Example #1
0
        /// <summary>
        /// Formats the table for output
        /// </summary>
        /// <returns>The table as a string</returns>
        public override string ToString()
        {
            if (_colsShown.Count == 0)
            {
                throw new EmptyTableException(this.GetType());
            }

            return(OutputBuilder <T> .BuildOutput(this, TableStyle));
        }
Example #2
0
 public override string ToString()
 {
     return(OutputBuilder <T> .BuildOutput(this, TableStyle));
 }
Example #3
0
        public static string BuildOutput(Table <T> t, Style s)
        {
            var instance = new OutputBuilder <T>(t, s);

            return(instance.sb.ToString());
        }