XPTable.Models.CellCollection.AddRange C# (CSharp) Method

AddRange() public method

Adds an array of Cell objects to the collection
public AddRange ( Cell cells ) : void
cells Cell An array of Cell objects to add /// to the collection
return void
        public void AddRange(Cell[] cells)
        {
            if (cells == null)
            {
                throw new System.ArgumentNullException("Cell[] is null");
            }

            for (int i=0; i<cells.Length; i++)
            {
                this.Add(cells[i]);
            }
        }