コード例 #1
0
 internal PageControlInfo(int totalPageCount,
                          ItemRangeInfo itemRange,
                          int currentPageIndex,
                          IReadOnlyList <int> sequentialIndexWindow,
                          PageControlIndexMap controlIndexMap)
 {
     TotalPageCount        = totalPageCount;
     ItemRange             = itemRange;
     CurrentPageIndex      = currentPageIndex;
     SequentialIndexWindow = sequentialIndexWindow;
     ControlIndexMap       = controlIndexMap;
 }
コード例 #2
0
 private PageControlInfo()
 {
     SequentialIndexWindow = new int[0];
     ItemRange             = ItemRangeInfo.NewEmptyRangeInfo();
     ControlIndexMap       = PageControlIndexMap.NewNullMap();
 }