1 type derived from LoggingCache
Microsoft.Extensions.Caching.Hybrid.Tests (1)
L2Tests.cs (1)
157private class BufferLoggingCache : LoggingCache, IBufferDistributedCache
5 instantiations of LoggingCache
Microsoft.Extensions.Caching.Hybrid.Tests (5)
ExpirationTests.cs (1)
22var l2 = new LoggingCache(log, new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions { Clock = clock })));
L2Tests.cs (1)
39services.AddSingleton<IDistributedCache>(buffers ? new BufferLoggingCache(Log, localCache) : new LoggingCache(Log, localCache));
LocalInvalidationTests.cs (1)
59l2 = new LoggingCache(log, mdc);
PayloadTests.cs (2)
278config.AddSingleton<IDistributedCache>(new LoggingCache(log, localCache)); 305config.AddSingleton<IDistributedCache>(new LoggingCache(log, localCache));
5 references to LoggingCache
Microsoft.Extensions.Caching.Hybrid.Tests (5)
ExpirationTests.cs (1)
22var l2 = new LoggingCache(log, new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions { Clock = clock })));
L2Tests.cs (4)
52var backend = Assert.IsAssignableFrom<LoggingCache>(cache.BackendCache); 110var backend = Assert.IsAssignableFrom<LoggingCache>(cache.BackendCache);