C# Класс Aspectacular.ObjectCacheFacade

A class fronting .NET Framework's mediocre ObjectCache with Aspectacular-friendly ICacheProvider implementation.
Наследование: ICacheProvider2
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
cacheTemplatePolicy System.Runtime.Caching.CacheItemPolicy
objectCache ObjectCache
regionName string

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

Метод Описание
Set ( string key, object val, System.Proxy proxy ) : void
TryGet ( string key, object &val, System.Proxy proxy ) : bool

Защищенные методы

Метод Описание
ClonePolicy ( ) : System.Runtime.Caching.CacheItemPolicy
ObjectCacheFacade ( ObjectCache cache, System.Runtime.Caching.CacheItemPolicy cachePolicyTemplate, string regionName = null ) : System

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

ClonePolicy() защищенный Метод

protected ClonePolicy ( ) : System.Runtime.Caching.CacheItemPolicy
Результат System.Runtime.Caching.CacheItemPolicy

ObjectCacheFacade() защищенный Метод

protected ObjectCacheFacade ( ObjectCache cache, System.Runtime.Caching.CacheItemPolicy cachePolicyTemplate, string regionName = null ) : System
cache ObjectCache
cachePolicyTemplate System.Runtime.Caching.CacheItemPolicy Template from which all items will get their CacheItemPolicy cloned.
regionName string
Результат System

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

public Set ( string key, object val, System.Proxy proxy ) : void
key string
val object
proxy System.Proxy
Результат void

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

public TryGet ( string key, object &val, System.Proxy proxy ) : bool
key string
val object
proxy System.Proxy
Результат bool

Описание свойств

cacheTemplatePolicy защищенное свойство

protected CacheItemPolicy,System.Runtime.Caching cacheTemplatePolicy
Результат System.Runtime.Caching.CacheItemPolicy

objectCache защищенное свойство

protected ObjectCache objectCache
Результат ObjectCache

regionName защищенное свойство

protected string regionName
Результат string