Beispiel #1
0
 /// <summary>
 /// </summary>
 /// <param name="request"></param>
 /// <param name="totalCount"></param>
 public PagerInfo(PagerRequest request, int totalCount)
 {
     Index      = request.PageIndex;
     Size       = request.PageSize;
     TotalCount = totalCount;
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="request"></param>
 /// <param name="totalCount"></param>
 /// <param name="data"></param>
 public PagerInfo(PagerRequest request, int totalCount, IEnumerable <T> data)
     : this(request, totalCount)
 {
     AddRange(data);
 }
Beispiel #3
0
 /// <summary>
 /// </summary>
 /// <param name="request"></param>
 public PagerInfo(PagerRequest request)
     : this(request, 0)
 {
 }