Initializes a new instance of the PagedList class.

Namespace:  Mindroute.Core.Collections
Assembly:  Mindroute.Core (in Mindroute.Core.dll) Version: 1.0.0.0 (1.0.0)

Syntax

C#
public PagedList(
	IList<T> source,
	int pageIndex,
	int pageSize,
	int totalItemCount
)
Visual Basic (Declaration)
Public Sub New ( _
	source As IList(Of T), _
	pageIndex As Integer, _
	pageSize As Integer, _
	totalItemCount As Integer _
)

Parameters

source
Type: System.Collections.Generic..::.IList<(Of <(T>)>)
The collection of items to initialize the paged list with.
pageIndex
Type: System..::.Int32
The current page index.
pageSize
Type: System..::.Int32
The current page size.
totalItemCount
Type: System..::.Int32
The total item count,

See Also