Set Method
Definition
- Assemblies
- Cuemon.Runtime.Caching.dll
Set(string, object, CacheInvalidation, string)
Inserts a cache entry into the cache.
void Set(string key, object value, CacheInvalidation invalidation, string ns = null)
Parameters
keystringThe unique identifier of the cache.
valueobjectThe stored value of the cache.
invalidationCacheInvalidationThe object that contains expiration details for a specific cache entry.
nsstringThe optional namespace that provides a scope to the cache.