Class ValueDictionary<TKey, TValue>.Builder.KeysCollection
- Namespace
- Badeend.ValueCollections
- Assembly
- Badeend.ValueCollections.dll
A heap-allocated read-only view over all the keys in the dictionary.
public sealed class ValueDictionary<TKey, TValue>.Builder.KeysCollection : ISet<TKey>, ICollection<TKey>, IReadOnlySet<TKey>, IReadOnlyCollection<TKey>, IEnumerable<TKey>, IEnumerable
- Inheritance
-
ValueDictionary<TKey, TValue>.Builder.KeysCollection
- Implements
-
ISet<TKey>ICollection<TKey>IReadOnlySet<TKey>IReadOnlyCollection<TKey>IEnumerable<TKey>
- Inherited Members
- Extension Methods
Remarks
Any KeysCollection is only valid until the next mutation performed on the builder. As long as the KeysCollection is usable, it effectively represents an immutable set of keys.