CacheValue(object, IImmutableList<string>)
Initializes a new CacheValue without specifying the Tags list.
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 |
CacheValue(object, IReadOnlyList<object>, IImmutableList<string>)
Initializes a new CacheValue and specifies the Tags list.
Declaration
public CacheValue(object value, IReadOnlyList<object> tags, IImmutableList<string> dependencies = null)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The cached value. |
| IReadOnlyList<object> | tags | A secondary list of values, typically used by CachingBackendEnhancer implementations. |
| IImmutableList<string> | dependencies | The list of dependencies (or |