CacheItem(object?, ImmutableArray<string>, ICacheItemConfiguration?)
Initializes a new instance of the CacheItem class.
Declaration
public CacheItem(object? value, ImmutableArray<string> dependencies = default, ICacheItemConfiguration? configuration = null)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value to cache. |
| ImmutableArray<string> | dependencies | Optional dependencies for cache invalidation. |
| ICacheItemConfiguration | configuration | Optional configuration for this cache item. |
CacheItem(CacheItem)
Declaration
protected CacheItem(CacheItem original)Parameters
| Type | Name | Description |
|---|---|---|
| CacheItem | original |