|
Oddity
|
Represents a base class for all endpoints. More...
Public Member Functions | |
| int | ClearCache () |
| Clears all cached data. More... | |
Protected Member Functions | |
| EndpointBase (OddityCore context, int cacheLifetime) | |
| Initializes a new instance of the EndpointBase<TData> class. More... | |
Protected Attributes | |
| readonly OddityCore | Context |
| readonly CacheService< TData > | Cache |
Represents a base class for all endpoints.
| TData | Type of the data returned from API. |
| TData | : | ModelBase | |
| TData | : | IIdentifiable |
|
protected |
Initializes a new instance of the EndpointBase<TData> class.
| context | The Oddity context used to interact with API. |
| cacheLifetime | The builder delegates container. |
| int Oddity.Endpoints.EndpointBase< TData >.ClearCache | ( | ) |
Clears all cached data.
|
protected |
|
protected |