public Table(TableConfiguration config, params object[] columns) : this(config) { if (columns == null) { throw new ArgumentNullException(nameof(columns)); } m_columns.AddRange(columns); }
public Table(TableConfiguration config, Alignment rowsAlignment = Alignment.Left, Alignment headerAlignment = Alignment.Left, params object[] columns) : this(config) { if (columns == null) { throw new ArgumentNullException(nameof(columns)); } foreach (var column in columns) { m_columns.Add(new ColumnHeader(column, rowsAlignment, headerAlignment)); } }
public Table(TableConfiguration config) { m_columns = new List <object>(); m_rows = new List <object[]>(); Config = config; }