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

MemoryCacheValue Constructor

MemoryCacheValue(Object, IImmutableList<String>, Object)

Initializes a new MemoryCacheValue.

public MemoryCacheValue(object value, IImmutableList<string> dependencies, object sync)
Type Name Description
Object value

The cached value.

IImmutableList<String> dependencies

The list of dependencies (or null if there are no dependencies).

Object sync

A mutex that's locked when we manipulate this item's dependencies.