PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Context­Kind Enumeration

CachingContextKind Enumeration

Enumerates the kinds of ICachingContext.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public enum CachingContextKind
Members
  Member nameValueDescription
None0 None (a null implementation of ICachingContext).
Cache1 The ICachingContext of a method being evaluated and added to the cache.
Recache2 The ICachingContext of a method being re-evaluated, ignoring the previous value, and replaced into the cache, using the Recache<TReturn>(Func<TReturn>) method.
See Also