1 write to EvictionReason
Microsoft.Extensions.Caching.Memory (1)
CacheEntry.cs (1)
239
EvictionReason
= reason;
3 references to EvictionReason
Microsoft.Extensions.Caching.Memory (3)
CacheEntry.CacheEntryTokens.cs (1)
130
registration.EvictionCallback?.Invoke(entry.Key, entry.Value, entry.
EvictionReason
, registration.State);
CacheEntry.cs (1)
237
if (
EvictionReason
== EvictionReason.None)
MemoryCache.cs (1)
225
if (!entry.CheckExpired(utcNow) || entry.
EvictionReason
== EvictionReason.Replaced)