public static PagedList<T> ToPagedList<T>(
this IEnumerable<T> source,
int page,
int pageSize,
int count = -1
)
<ExtensionAttribute>
Public Shared Function ToPagedList(Of T) (
source As IEnumerable(Of T),
page As Integer,
pageSize As Integer,
Optional count As Integer = -1
) As PagedList(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static PagedList<T>^ ToPagedList(
IEnumerable<T>^ source,
int page,
int pageSize,
int count = -1
)