1 type derived from LoggingCache
Microsoft.Extensions.Caching.Hybrid.Tests (1)
L2Tests.cs (1)
158private class BufferLoggingCache : LoggingCache, IBufferDistributedCache
5 instantiations of LoggingCache
Microsoft.Extensions.Caching.Hybrid.Tests (5)
ExpirationTests.cs (1)
23var l2 = new LoggingCache(log, new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions { Clock = clock })));
L2Tests.cs (1)
40services.AddSingleton<IDistributedCache>(buffers ? new BufferLoggingCache(Log, localCache) : new LoggingCache(Log, localCache));
LocalInvalidationTests.cs (1)
60l2 = new LoggingCache(log, mdc);
PayloadTests.cs (2)
279config.AddSingleton<IDistributedCache>(new LoggingCache(log, localCache)); 306config.AddSingleton<IDistributedCache>(new LoggingCache(log, localCache));
5 references to LoggingCache
Microsoft.Extensions.Caching.Hybrid.Tests (5)
ExpirationTests.cs (1)
23var l2 = new LoggingCache(log, new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions { Clock = clock })));
L2Tests.cs (4)
53var backend = Assert.IsAssignableFrom<LoggingCache>(cache.BackendCache); 111var backend = Assert.IsAssignableFrom<LoggingCache>(cache.BackendCache);