예제 #1
0
 public CacheProvider(IndexController indexController, bool useInMemoryCache)
 {
     _useInMemoryCache = useInMemoryCache;
     _indexController  = indexController;
     _indexController.Initialise();
     if (useInMemoryCache)
     {
         _innerCacheProvider = new RuntimeCacheProvider();
     }
 }
 public override void SetUp()
 {
     CacheProvider = new RuntimeCacheProvider();
 }
예제 #3
0
 public void ClassLevelSetUp()
 {
     _runtimeCacheProvider = new RuntimeCacheProvider();
     _cacheItem            = new CacheItem(Key, Value);
 }