public async Task TestClearFromStagingArea() { await _bufferedDiskCache.Put(_cacheKey, _encodedImage); await _bufferedDiskCache.ClearAll(); Assert.IsTrue(0 != _stagingArea._clearAllCallsTestOnly); }
/// <summary> /// Clear disk caches. /// </summary> public async Task ClearDiskCachesAsync() { await _mainBufferedDiskCache.ClearAll().ConfigureAwait(false); await _smallImageBufferedDiskCache.ClearAll().ConfigureAwait(false); }