public CellReference GetNextRow() { this.RowIndex++; this.currentColumnIndex = 0; return(this.CurrentCell = this.firstColumnCell.AddLines(this.RowIndex)); }
public TableFactory(int columnsCount, CellReference firstColumnCell) { this.columnsCount = columnsCount; this.firstColumnCell = this.CurrentCell = firstColumnCell ?? throw new ArgumentNullException(nameof(firstColumnCell)); }