Return value of the GetItem(string, bool) method, i.e. represents an item retrieved from the cache (items being stored in the cache are represented by the CacheItem class).
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class CacheValue
Constructors
Name | Description |
---|---|
CacheValue(object, IImmutableList<string>) | Initializes a new CacheValue. |
Properties
Name | Description |
---|---|
Dependencies | Gets the list of dependencies of the cache. |
Value | Gets the cached value. |
Methods
Name | Description |
---|---|
WithValue(object) | Returns a new CacheValue with different Value but identical Dependencies. |