Beispiel #1
0
        public GridData Clone()
        {
            GridData obj = new GridData(cols, rows);

            for (int rowIdx = 0; rowIdx < rows; ++rowIdx)
            {
                RowData row = new RowData(cols);
                row.Set(data[rowIdx].Get);
                obj.SetRow(rowIdx, row);
            }

            return(obj);
        }