Class LruCacheTKeyTValue

LruCache<TKey,TValue> class

public class LruCache<TKey, TValue> : ICache<TKey, TValue>

Constructors

NameDescription
LruCache(int)
LruCache(int, IEqualityComparer<TKey>)

Properties

NameDescription
Capacity { get; }
Count { get; }

Methods

NameDescription
Add(TKey, TValue)
Clear()
ContainsKey(TKey)
Get(TKey)
GetEnumerator()
RemoveFirst()
TryGetValue(TKey, out TValue)

See Also