private void GetLocalMachineCache() { var localCache = new Lazy <IBlobCache>(() => { _filesystemProvider.CreateRecursive(_filesystemProvider.GetDefaultLocalMachineCacheDirectory()).SubscribeOn(BlobCache.TaskpoolScheduler).Wait(); return(new SQLitePersistentBlobCache(Path.Combine(_filesystemProvider.GetDefaultLocalMachineCacheDirectory(), "blobs.db"), BlobCache.TaskpoolScheduler)); }); this.LocalMachineCache = localCache.Value; }
public string GetDefaultLocalMachineCacheDirectory() { return(_inner.GetDefaultLocalMachineCacheDirectory()); }