10 references to Options
Microsoft.Extensions.Caching.Hybrid.Tests (10)
ExpirationTests.cs (1)
23var l2 = new LoggingCache(log, new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions { Clock = clock })));
FactoryOptionsTests.cs (4)
33var captured = new CapturingCache(new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()))); 138var captured = new CapturingCache(new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()))); 163var l2 = new LoggingCache(log, new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions { Clock = clock }))); 271var sharedL2 = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()));
LocalInvalidationTests.cs (1)
59MemoryDistributedCache mdc = new(Options.Create(options));
PayloadTests.cs (4)
111var backend = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions())); 434var localCache = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions())); 461var localCache = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions())); 500localCache = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()));