Interface IPagedCollection
Namespace: Innovt.Core.Collections
Assembly: Innovt.Core.dll
Syntax
[SuppressMessage("Naming", "CA1711:Identifiers should not have incorrect suffix", Justification = "<Pending>")]
public interface IPagedCollection
Properties
| Edit this page View SourcePage
Gets or sets the current page number.
Declaration
string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageCount
Gets the total number of pages in the paged collection.
Declaration
int PageCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
PageSize
Gets or sets the number of items per page.
Declaration
int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TotalRecords
Gets or sets the total number of records in the entire collection.
Declaration
int TotalRecords { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceHasNext()
Determines whether there is a next page in the paged collection.
Declaration
bool HasNext()
Returns
| Type | Description |
|---|---|
| bool |
|
HasPrevious()
Determines whether there is a previous page in the paged collection.
Declaration
bool HasPrevious()
Returns
| Type | Description |
|---|---|
| bool |
|