PagedListT Constructor
Namespace: Gemstone.CollectionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public PagedList(
IEnumerable<T> source,
int page,
int pageSize,
int count = -1
)
Public Sub New (
source As IEnumerable(Of T),
page As Integer,
pageSize As Integer,
Optional count As Integer = -1
)
public:
PagedList(
IEnumerable<T>^ source,
int page,
int pageSize,
int count = -1
)
Gemstone.Collections.PagedList = function(source, page, pageSize, count);
Parameters
- source IEnumerableT
- Source enumeration to paginate.
- page Int32
- Page number (1-based).
- pageSize Int32
- Page size.
- count Int32 (Optional)
- Total records in source if known.
If count is known or can be calculated early, specify the value in the
count parameter as an optimization to prevent a full
enumeration on source to get a count.