PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Caching.​Implementation Namespace/Cache­Item­Removed­Reason Enumeration

CacheItemRemovedReason Enumeration

Enumerates the reasons why an item can be removed from the cache.

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public enum CacheItemRemovedReason
Members
  Member nameValueDescription
Removed0 Directly removed from the cache, by calling the RemoveItem(String), or an invalidation method that invalidates a cached method directly (not indirectly through dependencies).
Expired1 Removed because of AbsoluteExpiration or SlidingExpiration.
Evicted2 Evicted to make space for newer cache items.
Invalidated3 Indirectly invalidated (through dependencies).
Other4 Other (or any reason that cannot be determined).
See Also