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