MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​ImplementationCache­ValueCache­Value
Open sandboxFocus

CacheValue Constructor

CacheValue(Object, IImmutableList<String>)

Return value of the GetItem(String, Boolean) method, i.e. represents an item retrieved from the cache (items being stored in the cache are represented by the CacheItem class).

Declaration
public CacheValue(object Value, IImmutableList<string> Dependencies = null)
Parameters
Type Name Description
System.Object Value

The cached value.

System.Collections.Immutable.IImmutableList<System.String> Dependencies

An optional list of dependencies.

CacheValue(CacheValue)

Declaration
protected CacheValue(CacheValue original)
Parameters
Type Name Description
CacheValue original