Documentation

Mistake on this page? Email us
Public Member Functions | List of all members
Mbed.Cloud.Common.PaginatedResponse< TOptions, TData > Class Template Reference

Paginated Response More...

Inheritance diagram for Mbed.Cloud.Common.PaginatedResponse< TOptions, TData >:

Public Member Functions

 PaginatedResponse (Func< TOptions, Task< ResponsePage< TData >>> apiCallFunction, TOptions options)
 Initializes a new instance of the PaginatedResponse<TOptions, TData> class. More...
 
List< TData > All ()
 Get all items More...
 
IEnumerator< TData > GetEnumerator ()
 Get Enumerator More...
 

Detailed Description

Paginated Response

Template Parameters
TOptionsOptions
TDataData
Type Constraints
TData :Entity 
TOptions :IQueryOptions 

Constructor & Destructor Documentation

Mbed.Cloud.Common.PaginatedResponse< TOptions, TData >.PaginatedResponse ( Func< TOptions, Task< ResponsePage< TData >>>  apiCallFunction,
TOptions  options 
)
inline

Initializes a new instance of the PaginatedResponse<TOptions, TData> class.

Parameters
apiCallFunctionThe get data function.
optionsThe options.

Member Function Documentation

List<TData> Mbed.Cloud.Common.PaginatedResponse< TOptions, TData >.All ( )
inline

Get all items

Returns
List of all items
IEnumerator<TData> Mbed.Cloud.Common.PaginatedResponse< TOptions, TData >.GetEnumerator ( )
inline

Get Enumerator

Returns
Data

The documentation for this class was generated from the following file: