示例#1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="queryDelegate"></param>
 public PagingController(PageQueryDelegate queryDelegate)
     : this(DefaultPageSize, queryDelegate)
 {
 }
示例#2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="pageSize"></param>
 /// <param name="queryDelegate"></param>
 public PagingController(int pageSize, PageQueryDelegate queryDelegate)
 {
     _pageSize          = pageSize;
     _queryDelegate     = queryDelegate;
     _currentPageNumber = 0;
 }