PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends Namespace / Memory­Cache­Value Class / Memory­Cache­Value Constructor

MemoryCacheValue Constructor

Initializes a new MemoryCacheValue.

Namespace:  PostSharp.Patterns.Caching.Backends
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public MemoryCacheValue(
	Object value,
	IImmutableList<string> dependencies,
	Object sync
)

Parameters

value
Type: System.Object
The cached value.
dependencies
Type: IImmutableList<String>
The list of dependencies (or null if there are no dependencies).
sync
Type: System.Object
A mutex that's locked when we manipulate this item's dependencies.
See Also