text: public bool AcceptRow(int rowIndex, int firstColumnIndex, int lastColumnIndex){if (firstColumnIndex != _firstColumnIndex){return false;}if (lastColumnIndex != _lastColumnIndex){return false;}if (rowIndex != _lastRowIndex + 1){return false;}_lastRowIndex = rowIndex;return true;}