C# Класс MettleSystems.dashCommerce.Core.Caching.Providers.HttpRuntimeCache

Uses the HttpRuntime.Cache
Наследование: ICacheProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ClearCache() публичный Метод

Clears the cache.
public ClearCache ( ) : void
Результат void

Get() публичный Метод

Gets the specified item key.
public Get ( string itemKey ) : object
itemKey string The item key.
Результат object

GetCount() публичный Метод

Gets the amount of items in the cache.
public GetCount ( ) : int
Результат int

GetEnumerator() публичный Метод

Gets the enumerator.
public GetEnumerator ( ) : System.Collections.IDictionaryEnumerator
Результат System.Collections.IDictionaryEnumerator

Insert() публичный Метод

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.
Результат void

Remove() публичный Метод

Removes the specified item key.
public Remove ( string itemKey ) : void
itemKey string The item key.
Результат void

this() публичный Метод

Gets the System.Object with the specified key.
public this ( string key ) : object
key string
Результат object