Method SetCacheItem
SetCacheItem<TItem>(TItem, CachingOptions, out CacheItem)
A wrapper for CacheItem.
Declaration
public static void SetCacheItem<TItem>(TItem value, CachingOptions cachingOptions, out CacheItem cacheItem)
Parameters
Type | Name | Description |
---|---|---|
TItem | value | A Value that is to be assigned to CacheItem |
CachingOptions | cachingOptions | Different Caching options like expiration etc. |
CacheItem | cacheItem | The CacheItem to be Initialized. |
Type Parameters
Name | Description |
---|---|
TItem |