Oddity
Oddity.Cache.CacheItem< TData > Class Template Reference

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...
 

Detailed Description

Represents an container for the cached data.

Template Parameters
TDataType of the cached data.

Constructor & Destructor Documentation

Oddity.Cache.CacheItem< TData >.CacheItem ( TData  data,
DateTime  updateTime 
)

Initializes a new instance of the CacheItem<TData> class.

Parameters
dataThe data which will be cached.
updateTimeThe time at the moment when the data has been cached.

Member Function Documentation

override string Oddity.Cache.CacheItem< TData >.ToString ( )

Property Documentation

TData Oddity.Cache.CacheItem< TData >.Data
getset

Gets or sets the cached data.

DateTime Oddity.Cache.CacheItem< TData >.UpdateTime
getset

Gets or sets the update time of the cached data.


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