Open sandboxFocus

Class MemoryCacheValue

Meant to be used by caching backends. It's a CacheValue with an extra object that functions as a lock. Do not use this if you're not implementing a CachingBackend.

Inheritance
MemoryCacheValue
Namespace: PostSharp.Patterns.Caching.Backends
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class MemoryCacheValue : CacheValue

Constructors

Name Description
MemoryCacheValue(object, IReadOnlyList<object>, IImmutableList<string>, object)

Initializes a new MemoryCacheValue and accepts the tags parameter.

MemoryCacheValue(object, IImmutableList<string>, object)

Initializes a new MemoryCacheValue (no tags parameter).

Properties

Name Description
Sync

Gets or sets the mutex that protects this cache key.