Class PagingExtensions
Inherited Members
Namespace: DotNetNuke.Collections
Assembly: DotNetNuke.dll
Syntax
public static class PagingExtensions
Methods
InPagesOf<T>(IEnumerable<T>, int)
Declaration
public static PageSelector<T> InPagesOf<T>(this IEnumerable<T> source, int pageSize)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | source | |
int | pageSize |
Returns
Type | Description |
---|---|
PageSelector<T> |
Type Parameters
Name | Description |
---|---|
T |
ToPagedList<T>(IEnumerable<T>, int, int)
Declaration
public static IPagedList<T> ToPagedList<T>(this IEnumerable<T> source, int pageIndex, int pageSize)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | source | |
int | pageIndex | |
int | pageSize |
Returns
Type | Description |
---|---|
IPagedList<T> |
Type Parameters
Name | Description |
---|---|
T |