Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum Microsoft.​Extensions.​Caching.​Memory.​EvictionReason

Assembly: Microsoft.Extensions.Caching.Abstractions

Specifies the reasons why an entry was evicted from the cache.

Values

None
The item was not removed from the cache.
Removed
The item was removed from the cache manually.
Replaced
The item was removed from the cache because it was overwritten.
Expired
The item was removed from the cache because it timed out.
TokenExpired
The item was removed from the cache because its token expired.
Capacity
The item was removed from the cache because it exceeded its capacity.