1 write to _cache
rzc (1)
ConcurrentLruCache.cs (1)
36_cache = new Dictionary<TKey, CacheValue>(capacity, comparer);
8 references to _cache
rzc (8)
ConcurrentLruCache.cs (8)
61return _cache.Count; 117var kvp = new KeyValuePair<TKey, TValue>(key, _cache[key].Value); 131if (_cache.TryGetValue(key, out var result)) 161_cache.Remove(lastNode.Value); 167_cache.Add(key, new CacheValue(value, node)); 176if (_cache.TryGetValue(key, out var result)) 182if (_cache.Count == _capacity) 193return _cache.Remove(key);