3 instantiations of CapturingCache
Microsoft.Extensions.Caching.Hybrid.Tests (3)
FactoryOptionsTests.cs (3)
33var captured = new CapturingCache(new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()))); 138var captured = new CapturingCache(new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()))); 276var capturingA = new CapturingCache(sharedL2);
8 references to CapturingCache
Microsoft.Extensions.Caching.Hybrid.Tests (8)
FactoryOptionsTests.cs (8)
31private static ServiceProvider BuildCacheWithL2(ITestOutputHelper log, out DefaultHybridCache cache, out CapturingCache localCache) 33var captured = new CapturingCache(new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()))); 38private static async Task WaitForBackgroundL2WriteAsync(CapturingCache cache, string key) 56using var provider = BuildCacheWithL2(log, out var cache, out var localCache); 80using var provider = BuildCacheWithL2(log, out var cache, out var localCache); 138var captured = new CapturingCache(new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()))); 238using var provider = BuildCacheWithL2(log, out var cache, out var localCache); 276var capturingA = new CapturingCache(sharedL2);