MemoryCacheT Methods

Methods

GetOrAdd(String, FuncT, CacheEntryRemovedCallback) Gets or adds a value, based on result of valueFactory, to the memory cache. Cache defaults to a 1-minute expiration.
GetOrAdd(String, Double, FuncT, CacheEntryRemovedCallback) Gets or adds a value, based on result of valueFactory, to the memory cache.
KeepAlive Keeps a cache entry alive by resetting its expiration time.
Remove Removes a value from the memory cache.
TryGet Try to get a value from the memory cache.

See Also