C# Class OpenSlx.Lib.Web.Utility.WebCacheService

Web-specific implementation of the cache service. This is a simple wrapper around the ASP.NET cache.
Inheritance: ICacheService
显示文件 Open project: nicocrm/OpenSlx

Public Methods

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

Add an item.

this ( string index ) : object

Access cache item.

Method Details

Insert() public method

Add an item.
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

Access cache item.
public this ( string index ) : object
index string
return object