Summary
MappedPagedList.
Implements the
Marten.Pagination.IPagedList`1
- Assembly
- Rocket
.Surgery .Extensions .Marten .dll - Namespace
- Rocket
.Surgery .Extensions .Marten - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IPagedList<T>"]
Type-.->Interface1["IEnumerable<T>"]
Type-.->Interface2["IEnumerable"]
Type["MappedPagedList<T>"]
class Type type-node
Syntax
public class MappedPagedList<T> : IPagedList<T>, IEnumerable<T>, IEnumerable
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute | |
Default |
|
JsonObjectAttribute |
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Summary |
---|---|
MappedPagedList |
Initializes a new instance of the MappedPagedList<T> class.
|
Properties
Name | Value | Summary |
---|---|---|
Count | long |
Return the number of records in the paged query result
|
FirstItemOnPage | long |
Gets one-based index of first item in current page
|
HasNextPage | bool |
Gets a value indicating whether there is next page
|
HasPreviousPage | bool |
Gets a value indicating whether there is a previous page
|
IsFirstPage | bool |
Gets a value indicating whether the current page is first page
|
IsLastPage | bool |
Gets a value indicating whether the current page is last page
|
LastItemOnPage | long |
Gets one-based index of last item in current page
|
PageCount | long |
Gets number of pages
|
PageNumber | long |
Gets current page number
|
PageSize | long |
Gets page size
|
this[int] | T |
Gets the at the specified index.
|
TotalItemCount | long |
Gets the total number records
|
Values | IEnumerable |
Gets the values.
|
Methods
Name | Value | Summary |
---|---|---|
GetEnumerator |
IEnumerator |
Returns an enumerator that iterates through the collection.
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
See Also
- Marten.Pagination.IPagedList`1