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

◆ CacheItem() [1/2]

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

◆ CacheItem() [2/2]

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

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

Parameters
itemThe item.

Member Data Documentation

◆ UtcCreated

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

Gets the UTC creation time of the cache item.

◆ Value

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

Gets the value.

Property Documentation

◆ ItemAge

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

Gets the itema age.