|
Oddity
|
Represents a list builder used to retrieve data (collection of objects) without any filters. More...
Public Member Functions | |
| ListBuilder (OddityCore context, CacheService< TReturn > cache, string endpoint) | |
| Initializes a new instance of the ListBuilder<TReturn> class. More... | |
| override List< TReturn > | Execute () |
| override bool | Execute (List< TReturn > model) |
| override async Task< List< TReturn > > | ExecuteAsync () |
| override async Task< bool > | ExecuteAsync (List< TReturn > models) |
Represents a list builder used to retrieve data (collection of objects) without any filters.
| TReturn | Type which will be returned after successful API request. |
| TReturn | : | ModelBase | |
| TReturn | : | IIdentifiable | |
| TReturn | : | new() |
| Oddity.Builders.ListBuilder< TReturn >.ListBuilder | ( | OddityCore | context, |
| CacheService< TReturn > | cache, | ||
| string | endpoint | ||
| ) |
Initializes a new instance of the ListBuilder<TReturn> class.
| override List<TReturn> Oddity.Builders.ListBuilder< TReturn >.Execute | ( | ) |
| override bool Oddity.Builders.ListBuilder< TReturn >.Execute | ( | List< TReturn > | model | ) |
| override async Task<List<TReturn> > Oddity.Builders.ListBuilder< TReturn >.ExecuteAsync | ( | ) |
| override async Task<bool> Oddity.Builders.ListBuilder< TReturn >.ExecuteAsync | ( | List< TReturn > | models | ) |