PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCache­Item­Removed­Reason
Open sandboxFocus

CacheItemRemovedReason Class

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

Inheritance
CacheItemRemovedReason
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public sealed class CacheItemRemovedReason : Enum

Fields

Name Description
Evicted

Evicted to make space for newer cache items.

Expired

Removed because of AbsoluteExpiration or SlidingExpiration.

Invalidated

Indirectly invalidated (through dependencies).

Other

Other (or any reason that cannot be determined).

Removed

Directly removed from the cache, by calling the RemoveItem(String), or an invalidation method that invalidates a cached method directly (not indirectly through dependencies).

value__