5 instantiations of MemoryDistributedCacheOptions
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
DistributedCacheTagHelperTest.cs (4)
354var storage = GetStorage(Options.Create(new MemoryDistributedCacheOptions { Clock = clock.Object })); 416var storage = GetStorage(Options.Create(new MemoryDistributedCacheOptions { Clock = clock.Object })); 478var storage = GetStorage(Options.Create(new MemoryDistributedCacheOptions { Clock = clock.Object })); 776return new DistributedCacheTagHelperStorage(new MemoryDistributedCache(options ?? Options.Create(new MemoryDistributedCacheOptions())));
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
1158_cache = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()));
11 references to MemoryDistributedCacheOptions
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
DistributedCacheTagHelperTest.cs (1)
774private static IDistributedCacheTagHelperStorage GetStorage(IOptions<MemoryDistributedCacheOptions> options = null)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
BufferReleaseTests.cs (1)
79public TestCache(IOptions<MemoryDistributedCacheOptions> options) : base(options) { }
L2Tests.cs (1)
26var localCacheOptions = new Options<MemoryDistributedCacheOptions>(new());
ServiceConstructionTests.cs (2)
206public CustomMemoryDistributedCache(IOptions<MemoryDistributedCacheOptions> options) : base(options) { } 207public CustomMemoryDistributedCache(IOptions<MemoryDistributedCacheOptions> options, ILoggerFactory loggerFactory) : base(options, loggerFactory) { }
Microsoft.Extensions.Caching.Memory (6)
MemoryCacheServiceCollectionExtensions.cs (2)
90/// The <see cref="Action{MemoryDistributedCacheOptions}"/> to configure the provided <see cref="MemoryDistributedCacheOptions"/>. 93public static IServiceCollection AddDistributedMemoryCache(this IServiceCollection services, Action<MemoryDistributedCacheOptions> setupAction)
MemoryDistributedCache.cs (2)
25public MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions> optionsAccessor) 33public MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions> optionsAccessor, ILoggerFactory loggerFactory)
MemoryDistributedCacheOptions.cs (2)
7/// Options class for <see cref="MemoryDistributedCacheOptions"/>. 12/// Initializes a new instance of <see cref="MemoryDistributedCacheOptions"/>.