C# Класс Castle.Facilities.Cache.CacheInterceptor

Caches the return value of the intercepted method.
Наследование: IInterceptor
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
NULL_OBJECT object

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

Метод Описание
CacheInterceptor ( CacheConfigHolder transactionConfHolder ) : System
Intercept ( IInvocation invocation ) : void

Returns from the cache provider the value saved with the key generated using the specified IMethodInvocation. If the object is not found in the cache, the intercepted method is executed and its returned value is saved in the cached and returned by this method.

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

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

public CacheInterceptor ( CacheConfigHolder transactionConfHolder ) : System
transactionConfHolder CacheConfigHolder
Результат System

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

Returns from the cache provider the value saved with the key generated using the specified IMethodInvocation. If the object is not found in the cache, the intercepted method is executed and its returned value is saved in the cached and returned by this method.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation the description of the intercepted method.
Результат void

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

NULL_OBJECT публичное статическое свойство

public static object NULL_OBJECT
Результат object