Photon Server API
Public Member Functions | Public Attributes | Properties | List of all members
ExitGames.Caching.CacheItem< T > Class Template Reference

Public Member Functions

 CacheItem ()
 Initializes a new instance of the CacheItem<T> class. More...
 
 CacheItem (T item)
 Initializes a new instance of the CacheItem<T> class. More...
 

Public Attributes

readonly DateTime UtcCreated
 Gets the UTC creation time of the cache item. More...
 
readonly T Value
 Gets the value. More...
 

Properties

TimeSpan ItemAge [get]
 Gets the itema age. More...
 

Constructor & Destructor Documentation

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

ExitGames.Caching.CacheItem< T >.CacheItem ( item)
inline

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

Parameters
itemThe item.

Member Data Documentation

readonly DateTime ExitGames.Caching.CacheItem< T >.UtcCreated

Gets the UTC creation time of the cache item.

readonly T ExitGames.Caching.CacheItem< T >.Value

Gets the value.

Property Documentation

TimeSpan ExitGames.Caching.CacheItem< T >.ItemAge
get

Gets the itema age.