Esempio n. 1
0
 public ReaderWriter(Func <TObject, TKey> keySelector = null)
 {
     _updater = keySelector == null
         ? new CacheUpdater <TObject, TKey>(_cache)
         : new CacheUpdater <TObject, TKey>(_cache, new KeySelector <TObject, TKey>(keySelector));
 }