Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Enum CacheItemRemovedReason

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

Namespace: Metalama.Patterns.Caching.Implementation
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public enum CacheItemRemovedReason

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).

  • Navigation