Remove an id:
_memoryCache.Remove((object) id);
Fish out a specific type:
var authItems = _memoryCache.Get<AuthorizationCacheItem>(foo);
No comments:
Post a Comment