Open sandboxFocus

Class MemoryCacheValue

Represents a CacheValue with an extra object that functions as a lock. Caching backends use this class. Do not use it if you are 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 instance of the MemoryCacheValue class with the tags parameter.

MemoryCacheValue(object, IImmutableList<string>, object)

Initializes a new instance of the MemoryCacheValue class without the tags parameter.

Properties

Name Description
Sync

Gets or sets the mutex that protects this cache key.