Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Class HashSetDictionary<TKey, TValue>.ValueSet

    Represents a dictionary synchronized set of values associated with a key in a HashSetDictionary<TKey, TValue>.

    Inheritance
    object
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet
    HashSetDictionary<TKey, TValue>.ValueSet
    Implements
    IReadOnlySet<TValue>
    IReadOnlyCollection<TValue>
    IEquatable<HashSetDictionary<TKey, TValue>.ReadOnlyValueSet>
    ISet<TValue>
    ICollection<TValue>
    IEnumerable<TValue>
    IEnumerable
    IReadOnlyCollectionProvider<TValue>
    Inherited Members
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Key
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Dictionary
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Count
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.AsTransientReadOnly()
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Contains(TValue)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.CopyTo(TValue[])
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.CopyTo(TValue[], int)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.IsProperSubsetOf(IEnumerable<TValue>)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.IsProperSupersetOf(IEnumerable<TValue>)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.IsSubsetOf(IEnumerable<TValue>)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.IsSupersetOf(IEnumerable<TValue>)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Overlaps(IEnumerable<TValue>)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.SetEquals(IEnumerable<TValue>)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.GetEnumerator()
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Equals(HashSetDictionary<TKey, TValue>.ReadOnlyValueSet)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.Equals(object)
    HashSetDictionary<TKey, TValue>.ReadOnlyValueSet.GetHashCode()
    Namespace: Singulink.Collections
    Assembly: Singulink.Collections.dll
    Syntax
    public sealed class HashSetDictionary<TKey, TValue>.ValueSet : HashSetDictionary<TKey, TValue>.ReadOnlyValueSet, IReadOnlySet<TValue>, IReadOnlyCollection<TValue>, IEquatable<HashSetDictionary<TKey, TValue>.ReadOnlyValueSet>, ISet<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable, IReadOnlyCollectionProvider<TValue>

    Methods

    Name Description
    Add(TValue)

    Adds an item to this set.

    AddRange(IEnumerable<TValue>)

    Adds the items of the specified collection to this set.

    AsReadOnly()

    Returns a dictionary synchronized read-only wrapper around this value set.

    Clear()

    Clears all the values in this set and removes the key from the dictionary.

    EnsureCapacity(int)

    Ensures that the value set can hold the specified number of items without growing.

    ExceptWith(IEnumerable<TValue>)

    Removes all items in the specified collection from the current set.

    IntersectWith(IEnumerable<TValue>)

    Modifies the current set to contain only items that are also present in the specified collection.

    Remove(TValue)

    Removes the specified item from the set.

    SetRange(IEnumerable<TValue>)

    Clears the items in this set and adds the items from the specified collection.

    SymmetricExceptWith(IEnumerable<TValue>)

    Modifies the current set to contain only items that are present either in the set or in the specified collection, but not both.

    TrimExcess()

    Sets the capacity of the set to the actual number of items it contains, rounded up to a nearby, implementation-specific value.

    UnionWith(IEnumerable<TValue>)

    Modifies the current set to contain all items that are present in the set, the specified collection, or both.

    Explicit Interface Implementations

    Name Description
    IReadOnlyCollectionProvider<TValue>.GetReadOnlyCollection()

    Returns a read-only collection wrapper for the given collection.

    ICollection<TValue>.Add(TValue)

    Adds an item to this set.

    ICollection<TValue>.IsReadOnly

    Gets a value indicating whether the set is read-only. Always returns false.

    © Singulink. All rights reserved.