C# Класс newtelligence.DasBlog.Web.Core.DataCache

Показать файл Открыть проект Примеры использования класса

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

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

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

Clear() публичный абстрактный Метод

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

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

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

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

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

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

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

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

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

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

Inserts an object in the Cache, overrides an existing object with the same key.
public abstract Remove ( string key ) : object
key string
Результат object

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

Gets the object specified by the key from the cache.
public abstract this ( string key ) : object
key string
Результат object