Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
uhaciogullari edited this page Sep 23, 2012 · 5 revisions

Welcome to the MemoryCacheT wiki!

MemoryCacheT simply wraps System.Collections.Concurrent.ConcurrentDictionary class and offers some options for expiring elements.

Cache<TKey, TValue> class is a generic thread-safe dictionary that also lets you expire items with a little bit of code. It keeps an instance of System.Collections.Concurrent.ConcurrentDictionary for storing items in the memory so there isn't a memory limit like in System.Runtime.Caching.MemoryCache. Also your items will stay in the cache until they expire or you remove them yourself.

Feedback is welcome.

More information

Clone this wiki locally