PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Implementation Namespace / Cache­Value Class / Cache­Value Constructor

CacheValue Constructor

Initializes a new CacheValue.

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public CacheValue(
	Object value,
	IImmutableList<string> dependencies = null
)

Parameters

value
Type: System.Object
The cached value.
dependencies (Optional)
Type: IImmutableList<String>
The list of dependencies (or null if there are no dependencies or dependencies were not requested).
See Also