Oddity
|
Represents an container for the cached data. More...
Public Member Functions | |
CacheItem (TData data, DateTime updateTime) | |
Initializes a new instance of the CacheItem<TData> class. More... | |
override string | ToString () |
Properties | |
TData | Data [get, set] |
Gets or sets the cached data. More... | |
DateTime | UpdateTime [get, set] |
Gets or sets the update time of the cached data. More... | |
Represents an container for the cached data.
TData | Type of the cached data. |
Oddity.Cache.CacheItem< TData >.CacheItem | ( | TData | data, |
DateTime | updateTime | ||
) |
Initializes a new instance of the CacheItem<TData> class.
data | The data which will be cached. |
updateTime | The time at the moment when the data has been cached. |
override string Oddity.Cache.CacheItem< TData >.ToString | ( | ) |
|
getset |
Gets or sets the cached data.
|
getset |
Gets or sets the update time of the cached data.