예제 #1
0
 public static PaginableEnumerable <T> ToPaginable <T>(this IEnumerable <T> enumerable, int?limitedMemberCount = null)
 {
     return(PaginableCollections.Of(enumerable, limitedMemberCount));
 }
예제 #2
0
 public static PaginableQueryable <T> ToPaginable <T>(this IQueryable <T> queryable, int pageSize, int?limitedMemberCount = null)
 {
     return(PaginableCollections.Of(queryable, pageSize, limitedMemberCount));
 }