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