C# Class MettleSystems.dashCommerce.Core.Caching.Providers.HttpRuntimeCache

Uses the HttpRuntime.Cache
Inheritance: ICacheProvider
Exibir arquivo Open project: dashcommerce/dashcommerce-3

Public Methods

Method Description
ClearCache ( ) : void

Clears the cache.

Get ( string itemKey ) : object

Gets the specified item key.

GetCount ( ) : int

Gets the amount of items in the cache.

GetEnumerator ( ) : System.Collections.IDictionaryEnumerator

Gets the enumerator.

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

Inserts the specified key.

Remove ( string itemKey ) : void

Removes the specified item key.

this ( string key ) : object

Gets the System.Object with the specified key.

Method Details

ClearCache() public method

Clears the cache.
public ClearCache ( ) : void
return void

Get() public method

Gets the specified item key.
public Get ( string itemKey ) : object
itemKey string The item key.
return object

GetCount() public method

Gets the amount of items in the cache.
public GetCount ( ) : int
return int

GetEnumerator() public method

Gets the enumerator.
public GetEnumerator ( ) : System.Collections.IDictionaryEnumerator
return System.Collections.IDictionaryEnumerator

Insert() public method

Inserts the specified key.
public Insert ( string key, object value, int cacheDurationInSeconds, CacheItemPriority priority ) : void
key string The key.
value object The value.
cacheDurationInSeconds int The cache duration in seconds.
priority CacheItemPriority The priority.
return void

Remove() public method

Removes the specified item key.
public Remove ( string itemKey ) : void
itemKey string The item key.
return void

this() public method

Gets the System.Object with the specified key.
public this ( string key ) : object
key string
return object