C# Class newtelligence.DasBlog.Web.Core.DataCache

Mostrar archivo Open project: AArnott/dasblog Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Clears the cache.

Insert ( string key, object value, System.Web.Caching.CacheDependency dependency ) : void

Inserts an object in the Cache, overrides an existing object with the same key.

Insert ( string key, object value, CacheItemPriority priority ) : void

Inserts an object in the Cache, overrides an existing object with the same key.

Insert ( string key, object value, System.DateTime absoluteExpiration ) : void

Inserts an object in the Cache, overrides an existing object with the same key.

Insert ( string key, object value, System.TimeSpan slidingExpiration ) : void

Inserts an object in the Cache, overrides an existing object with the same key.

Remove ( string key ) : object

Inserts an object in the Cache, overrides an existing object with the same key.

this ( string key ) : object

Gets the object specified by the key from the cache.

Method Details

Clear() public abstract method

Clears the cache.
public abstract Clear ( ) : void
return void

Insert() public abstract method

Inserts an object in the Cache, overrides an existing object with the same key.
public abstract Insert ( string key, object value, System.Web.Caching.CacheDependency dependency ) : void
key string
value object
dependency System.Web.Caching.CacheDependency
return void

Insert() public abstract method

Inserts an object in the Cache, overrides an existing object with the same key.
public abstract Insert ( string key, object value, CacheItemPriority priority ) : void
key string
value object
priority CacheItemPriority
return void

Insert() public abstract method

Inserts an object in the Cache, overrides an existing object with the same key.
public abstract Insert ( string key, object value, System.DateTime absoluteExpiration ) : void
key string
value object
absoluteExpiration System.DateTime
return void

Insert() public abstract method

Inserts an object in the Cache, overrides an existing object with the same key.
public abstract Insert ( string key, object value, System.TimeSpan slidingExpiration ) : void
key string
value object
slidingExpiration System.TimeSpan
return void

Remove() public abstract method

Inserts an object in the Cache, overrides an existing object with the same key.
public abstract Remove ( string key ) : object
key string
return object

this() public abstract method

Gets the object specified by the key from the cache.
public abstract this ( string key ) : object
key string
return object