Exemplo n.º 1
0
 public Pager(PageNavigationRequest previous, PageNavigationRequest next, ImmutableArray <PageNavigationRequest> numberRequests, int pageIndex, int pageCount)
 {
     Previous       = previous;
     Next           = next;
     NumberRequests = numberRequests;
     PageIndex      = pageIndex;
     PageCount      = pageCount;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 指定されたページ番号に遷移する。
 /// </summary>
 private void Navigate(PageNavigationRequest request)
 {
     _searcher.PaginationCondition.PageIndex = request.PageIndex;
     Search();
 }