<PackageReference Include="Relativity.Other" Version="13.0.6" />

LazyDictionaryCache<TKey, TValue>

public class LazyDictionaryCache<TKey, TValue> : IDictionary<TKey, TValue>, IDisposable
public int Count { get; }

public bool IsReadOnly { get; }

public TValue this[TKey key] { get; set; }

public ICollection<TKey> Keys { get; }

public ICollection<TValue> Values { get; }

public LazyDictionaryCache(CachingOptions options, Func<TKey, string> keyFormatter, Func<TKey, CancellationToken, TValue> valueFactory)

public void Add(TKey key, TValue value)

public void Clear()

public bool ContainsKey(TKey key)

protected virtual void Dispose(bool disposing)

public void Dispose()

public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()

public bool Remove(TKey key)

public bool TryGetValue(TKey key, ref TValue value)