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

CacheValue Class

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).

Inheritance
CacheValue
Implements
IEquatable<CacheValue>
Namespace: Metalama.Patterns.Caching.Implementation
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public class CacheValue : Object

Constructors

Name Description
CacheValue(CacheValue)
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).

Properties

Name Description
Dependencies

An optional list of dependencies.

EqualityContract
Value

The cached value.

Methods

Name Description
<Clone>$()
Deconstruct(out Object, out IImmutableList<String>)
Equals(CacheValue)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
Equality(CacheValue, CacheValue)
Inequality(CacheValue, CacheValue)