/// <summary> /// Adds new table to the end of table list. /// </summary> /// <param name="title">Table's title (optional, "" by default).</param> /// <returns></returns> public TableResultBuilder NewTable(string title = "") { currentTable = new TableResultItem(title); tableResult.ResultItems.Add(currentTable); return this; }
/// <summary> /// Sets given table as current table. /// </summary> /// <param name="table">Given table.</param> /// <returns></returns> public TableResultBuilder SetCurrentTable(TableResultItem table) { currentTable = table; return this; }