Exemplo n.º 1
0
 public PagenateAux(List <T> items, int count, int pageIndex, int pageSize)
 {
     PageIndex  = pageIndex;
     TotalPages = (int)Math.Ceiling(count / (double)pageSize);
     PageSize   = pageSize;
     Itens.AddRange(items);
 }