PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCache­ValueCache­Value
Open sandboxFocus

CacheValue Constructor

CacheValue(object, IImmutableList<string>)

Initializes a new CacheValue.

Declaration
public CacheValue(object value, IImmutableList<string> dependencies = null)
Parameters
Type Name Description
object value

The cached value.

IImmutableList<string> dependencies

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