Exemplo n.º 1
0
 public CachingInterceptor(ObjectCache cache, ICacheKeyGenerationService cacheKeyGenerationService)
     : base(cache, cacheKeyGenerationService)
 {
 }
Exemplo n.º 2
0
 public void Initialize()
 {
     Cache = A.Fake<ObjectCache>();
     CacheKeyGenerationService = A.Fake<ICacheKeyGenerationService>();
     Interceptor = new NinjectCachingInterceptor(Cache, CacheKeyGenerationService);
 }
Exemplo n.º 3
0
 public CachingInterceptor(ObjectCache cache, ICacheKeyGenerationService cacheKeyGenerationService)
     : base(cache, cacheKeyGenerationService)
 {
 }
Exemplo n.º 4
0
 protected BaseCachingInterceptor(ObjectCache cache, ICacheKeyGenerationService cacheKeyGenerationService)
 {
     _cache = cache;
     _cacheKeyGenerationService = cacheKeyGenerationService;
 }
Exemplo n.º 5
0
 protected BaseCachingInterceptor(ObjectCache cache, ICacheKeyGenerationService cacheKeyGenerationService)
 {
     _cache = cache;
     _cacheKeyGenerationService = cacheKeyGenerationService;
 }
Exemplo n.º 6
0
 public void Initialize()
 {
     Cache = A.Fake <ObjectCache>();
     CacheKeyGenerationService = A.Fake <ICacheKeyGenerationService>();
     Interceptor = new CachingInterceptor(Cache, CacheKeyGenerationService);
 }