C# Class OpenSlx.Lib.Services.Impl.MemCacheService

Very simple cache service using a dictionary to implement the cache. (for testing purposes)
Inheritance: ICacheService
Datei anzeigen Open project: nicocrm/OpenSlx

Public Methods

Method Description
Insert ( string key, object value, System cacheDependency, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration ) : void

We provide a partial implementation - cache dependency and expiration are not honored.

this ( string index ) : object

Retrieve cache item

Method Details

Insert() public method

We provide a partial implementation - cache dependency and expiration are not honored.
public Insert ( string key, object value, System cacheDependency, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration ) : void
key string
value object
cacheDependency System
absoluteExpiration System.DateTime
slidingExpiration System.TimeSpan
return void

this() public method

Retrieve cache item
public this ( string index ) : object
index string
return object