C# Class Netsy.Cache.CacheItem

An item in the cache
Datei anzeigen Open project: AnthonySteele/Netsy Class Usage Examples

Public Methods

Method Description
CacheItem ( string key, object value ) : System

Initializes a new instance of the CacheItem class

UpdateLastAccessed ( ) : void

Refresh the last accessed time

Method Details

CacheItem() public method

Initializes a new instance of the CacheItem class
public CacheItem ( string key, object value ) : System
key string the cache key
value object the value to cache
return System

UpdateLastAccessed() public method

Refresh the last accessed time
public UpdateLastAccessed ( ) : void
return void