/// <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)); }
public override string ToString() { return(OutputBuilder <T> .BuildOutput(this, TableStyle)); }
public static string BuildOutput(Table <T> t, Style s) { var instance = new OutputBuilder <T>(t, s); return(instance.sb.ToString()); }