2 writes to SlidingExpiration
Microsoft.Extensions.Caching.Abstractions (1)
MemoryCacheEntryExtensions.cs (1)
102
options.
SlidingExpiration
= offset;
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCache.cs (1)
81
memoryCacheEntryOptions.
SlidingExpiration
= options.SlidingExpiration;
4 references to SlidingExpiration
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
CacheTagHelperTest.cs (2)
265
Assert.Equal(slidingExpiresIn, cacheEntryOptions.
SlidingExpiration
);
301
Assert.Equal(expiresSliding, cacheEntryOptions.
SlidingExpiration
);
Microsoft.Extensions.Caching.Abstractions (2)
CacheEntryExtensions.cs (1)
178
entry.SlidingExpiration = options.
SlidingExpiration
;
MemoryCacheEntryOptions.cs (1)
73
nameof(
SlidingExpiration
),