PostSharp 6.10 / / Post­Sharp Documentation / 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: (
public enum CachingContextKind
  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