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

Uses the HttpRuntime.Cache
Inheritance: ICacheProvider
Afficher le fichier Open project: dashcommerce/dashcommerce-3

Méthodes publiques

Méthode 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 méthode

Clears the cache.
public ClearCache ( ) : void
Résultat void

Get() public méthode

Gets the specified item key.
public Get ( string itemKey ) : object
itemKey string The item key.
Résultat object

GetCount() public méthode

Gets the amount of items in the cache.
public GetCount ( ) : int
Résultat int

GetEnumerator() public méthode

Gets the enumerator.
public GetEnumerator ( ) : System.Collections.IDictionaryEnumerator
Résultat System.Collections.IDictionaryEnumerator

Insert() public méthode

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.
Résultat void

Remove() public méthode

Removes the specified item key.
public Remove ( string itemKey ) : void
itemKey string The item key.
Résultat void

this() public méthode

Gets the System.Object with the specified key.
public this ( string key ) : object
key string
Résultat object