void _objectCache_ItemRemoved(object sender, LruCacheEventArgs args) { SoodaCacheEntry e = (SoodaCacheEntry)args.Value; logger.Trace("Item removed: {0}. Invalidating dependent collections...", e); IList l = e.GetDependentCollections(); if (l != null) { foreach (SoodaCachedCollection ck in e.GetDependentCollections()) { InvalidateCollection(ck); } } }
void _collectionCache_ItemRemoved(object sender, LruCacheEventArgs args) { logger.Trace("Collection removed: {0}", args.Key); }