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

Implementation of ICacheService using the default ASP.NET cache. For convenience during testing if HttpContext.Current is not valid all calls are ignored.
Inheritance: ICacheService
显示文件 Open project: nicocrm/OpenSlx

Public Methods

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

Method Details

Insert() public method

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

public this ( string index ) : object
index string
return object