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