Add Method
Definition
- Assemblies
- Cuemon.Runtime.Caching.dll
Add(CacheEntry, CacheInvalidation)
Inserts a cache entry into the cache as a CacheEntry instance, and adds details about how the entry should be evicted.
bool Add(CacheEntry entry, CacheInvalidation invalidation)
Parameters
entryCacheEntryThe object representing the cached value for a cache entry.
invalidationCacheInvalidationThe object that contains expiration details for a specific cache entry.