CacheItem(object, IImmutableList<string>, CacheItemConfiguration)
Initializes a new CacheItem.
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(PortableFormatterConstructorContext)
Declaration
protected CacheItem(PortableFormatterConstructorContext context)
Parameters
Type | Name | Description |
---|---|---|
PortableFormatterConstructorContext | context |