- Added
TItem Get<TItem>(object key)
- Added
bool TryGetValue<TItem>(object key, out TItem value)
- Added
TItem Set<TItem>(string cacheGroup, object key, TItem value, double seconds)
- Added
RemoveItem(string cacheKey)
function
ClearCacheGroup(string groupName)
ClearAll()
TItem GetOrCreate<TItem>(string cacheGroup, object key, double seconds, Func<ICacheEntry, TItem> factory)
Task<TItem> GetOrCreateAsync<TItem>(string cacheGroup, object key, double seconds, Func<ICacheEntry, Task<TItem>> factory)