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