C# Class Hiro.Web.SessionCache

A class that uses the web session state to cache service instances.
Inheritance: ICache
显示文件 Open project: philiplaureano/Hiro

Public Methods

Method Description
SessionCache ( IHttpReferenceTracker tracker ) : System

Initializes a new instance of the SessionCache class.

this ( string key ) : object

Gets or sets the value indicating the key/value pair that will be stored in the current cache instance.

Method Details

SessionCache() public method

Initializes a new instance of the SessionCache class.
public SessionCache ( IHttpReferenceTracker tracker ) : System
tracker IHttpReferenceTracker The tracker that will be used to store the created service instances
return System

this() public method

Gets or sets the value indicating the key/value pair that will be stored in the current cache instance.
public this ( string key ) : object
key string The key that will be associated with the cached value.
return object