PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCaching­Context­Kind
Open sandboxFocus

Class CachingContextKind

Enumerates the kinds of ICachingContext.

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

Fields

Name Description
Cache

The ICachingContext of a method being evaluated and added to the cache.

None

None (a null implementation of ICachingContext).

Recache

The ICachingContext of a method being re-evaluated, ignoring the previous value, and replaced into the cache, using the Recache<TReturn>(Func<TReturn>) method.

value__