DotNext by Roman Sakno

<PackageReference Include="DotNext" Version="0.1.0" />

 ReadOnlyDictionaryView<K, I, O>

Represents lazily converted read-only dictionary.
public int Count { get; }

Count of key/value pairs.

public O this[K key] { get; }

Gets value associated with the key and convert it.

public IEnumerable<K> Keys { get; }

All dictionary keys.

public IEnumerable<O> Values { get; }

All converted dictionary values.

public ReadOnlyDictionaryView(IReadOnlyDictionary<K, I> dictionary, Converter<I, O> mapper)

Initializes a new lazily converted view.

public static bool op_Equality(ReadOnlyDictionaryView<K, I, O> first, ReadOnlyDictionaryView<K, I, O> second)

Determines whether two views are same.

public static bool op_Inequality(ReadOnlyDictionaryView<K, I, O> first, ReadOnlyDictionaryView<K, I, O> second)

Determines whether two views are not same.

public bool ContainsKey(K key)

Determines whether the wrapped dictionary contains an element with the specified key.

public bool Equals(ReadOnlyDictionaryView<K, I, O> other)

Determines whether two converted dictionaries are same.

Returns enumerator over key/value pairs in the wrapped dictionary and performs conversion for each value in the pair.

public bool TryGetValue(K key, out O value)

Returns the converted value associated with the specified key.