CacheItem(object, IImmutableList<string>, CacheItemConfiguration)
Declaration
public CacheItem(object value, IImmutableList<string> dependencies = null, CacheItemConfiguration configuration = null)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value to be cached ( |
| IImmutableList<string> | dependencies | A list of dependencies, or |
| CacheItemConfiguration | configuration | The configuration of the cache item, or |
CacheItem(object, IReadOnlyList<object>, IImmutableList<string>, CacheItemConfiguration)
Declaration
public CacheItem(object value, IReadOnlyList<object> tags, IImmutableList<string> dependencies = null, CacheItemConfiguration configuration = null)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value to be cached ( |
| IReadOnlyList<object> | tags | A secondary list of values, typically used by CachingBackendEnhancer implementations. |
| IImmutableList<string> | dependencies | A list of dependencies, or |
| CacheItemConfiguration | configuration | The configuration of the cache item, or |
CacheItem(PortableFormatterConstructorContext)
Declaration
protected CacheItem(PortableFormatterConstructorContext context)Parameters
| Type | Name | Description |
|---|---|---|
| PortableFormatterConstructorContext | context |