PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​BackendsMemory­Cache­Value
Open sandboxFocus

MemoryCacheValue Class

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, IImmutableList<String>, Object)

Initializes a new MemoryCacheValue.

Properties

Name Description
Sync

Gets or sets the mutex that protects this cache key.