static MyPersistentBlobCache SetupCache(string cacheDirectory) { var fixture = new MyPersistentBlobCache(cacheDirectory); // ensuring we are working with a clear cache fixture.InvalidateAll(); return fixture; }
static MyPersistentBlobCache SetupCache(string cacheDirectory) { BlobCache.EnsureInitialized(); var fixture = new MyPersistentBlobCache(cacheDirectory); // ensuring we are working with a clear cache fixture.InvalidateAll(); return(fixture); }