Exemplo n.º 1
0
 public PageIndex(PageIndex pageItem, int start, int size, short index, int offset)
 {
     Rows = new IndexItem[CellStore <int> .GetSize(size)];
     Array.Copy(pageItem.Rows, start, Rows, 0, pageItem.RowCount - start);
     RowCount = size;
     Index    = index;
     Offset   = offset;
 }
Exemplo n.º 2
0
        public PageIndex(PageIndex pageItem, int start, int size, short index, int offset, int arraySize = -1)
        {
            if (arraySize < 0)
            {
                arraySize = CellStore <int> .GetSize(size);
            }

            Rows = new IndexItem[arraySize];
            Array.Copy(pageItem.Rows, start, Rows, 0, pageItem.RowCount - start);
            RowCount = size;
            Index    = index;
            Offset   = offset;
        }
Exemplo n.º 3
0
 public PageIndex(PageIndex pageItem, int start, int size)
     : this(pageItem, start, size, pageItem.Index, pageItem.Offset)
 {
 }
Exemplo n.º 4
0
 public ColumnIndex()
 {
     _pages    = new PageIndex[CellStoreSettings.PagesPerColumnMin];
     PageCount = 0;
 }