public Interceptor(ICacheInterceptor cacheInterceptor, ITransactionInterceptor transactionInterceptor) { _cacheInterceptor = cacheInterceptor; _transactionInterceptor = transactionInterceptor; }
public void SetInterceptor(ICacheInterceptor interceptor) { _interceptor = interceptor; }
public RepositoryDecorator(ICacheInterceptor cacheInterceptor) { _proxyGenerator = new ProxyGenerator(); CacheInterceptor = cacheInterceptor; }
public CacheInitializer(string key, Func <T> initializer) { _key = key; _initializer = initializer; _interceptor = new DefaultCacheInterceptor(); }
public CacheVariableBuilder <T> WrapInitializationWith(ICacheInterceptor interceptor) { _interceptor = interceptor; return(this); }