Class PagedPullRequest<T>
Request built for use by a DataStore<T> to get some count of entities from collection.
Inheritance
System.Object
Request<T, PullDataStoreResponse<T>>
ReadRequest<T, PullDataStoreResponse<T>>
PagedPullRequest<T>
Inherited Members
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class PagedPullRequest<T> : ReadRequest<T, PullDataStoreResponse<T>>
Type Parameters
Name | Description |
---|---|
T | The type of an entity. |
Constructors
| Improve this Doc View SourcePagedPullRequest(AbstractClient, String, ICache<T>, Boolean, IQueryable<Object>, Int32, Boolean)
Initializes a new instance of the PagedPullRequest<T> class.
Declaration
public PagedPullRequest(AbstractClient client, string collection, ICache<T> cache, bool deltaSetFetchingEnabled, IQueryable<object> query, int count, bool isInitial)
Parameters
Type | Name | Description |
---|---|---|
AbstractClient | client | Client that the user is logged in. |
System.String | collection | Collection name. |
ICache<T> | cache | Cache. |
System.Boolean | deltaSetFetchingEnabled | If set to |
IQueryable<System.Object> | query | Query. |
System.Int32 | count | Limit of entities. |
System.Boolean | isInitial | If |
Methods
| Improve this Doc View SourceCancel()
Communicates the request for cancellation.
Declaration
public override Task<bool> Cancel()
Returns
Type | Description |
---|---|
Task<System.Boolean> | The async task with the boolean result. If the result is |
Overrides
Kinvey.Request<T, Kinvey.PullDataStoreResponse<T>>.Cancel()
|
Improve this Doc
View Source
ExecuteAsync()
Executes the request asynchronously.
Declaration
public override Task<PullDataStoreResponse<T>> ExecuteAsync()
Returns
Type | Description |
---|---|
Task<PullDataStoreResponse<T>> | The async task with the request result. |
Overrides
Kinvey.Request<T, Kinvey.PullDataStoreResponse<T>>.ExecuteAsync()