ICacheProvider.Put Method

Namespace:
Weavy.Core.Providers
Assembly:
Weavy.Core.dll

Put(CacheRegion, string, T)

Inserts an item into the Cache object with a cache key to reference its location.

This method will overwrite an existing cache item whose key matches the key parameter.

void Put<T>(CacheRegion region, string key, T item)

Parameters

region
CacheRegion

The cache region in which to put the cache item.

key
string

The cache key used to reference the item.

item

The object to be inserted into the cache.