Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Interface ICollectionDictionary<TKey, TValue, TValueCollection>

    Represents a collection of keys mapped to a keyed collection of values per key.

    Inherited Members
    IReadOnlyCollectionDictionary<TKey, TValue, TValueCollection>.this[TKey]
    IReadOnlyCollectionDictionary<TKey, TValue, TValueCollection>.ValueCollections
    IReadOnlyCollectionDictionary<TKey, TValue, TValueCollection>.TryGetValues(TKey, out TValueCollection)
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.Count
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.Keys
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.ValueCount
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.Values
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.Contains(TKey, TValue)
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.ContainsKey(TKey)
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.ContainsValue(TValue)
    IReadOnlyCollectionDictionaryBase<TKey, TValue>.GetValueCount(TKey)
    Namespace: Singulink.Collections
    Assembly: Singulink.Collections.dll
    Syntax
    public interface ICollectionDictionary<TKey, TValue, TValueCollection> : IReadOnlyCollectionDictionary<TKey, TValue, TValueCollection>, IReadOnlyCollectionDictionaryBase<TKey, TValue> where TValueCollection : class, IKeyedCollection<TKey, TValue>
    Type Parameters
    Name Description
    TKey

    The type of the keys in the dictionary.

    TValue

    The type of the values in the dictionary.

    TValueCollection

    The type of the keyed value collection associated with each key.

    Properties

    Name Description
    this[TKey]

    Gets the keyed value collection associated with the specified key. If the key is not found then a new value collection is returned which can be used to add values to the key or to monitor when items are added to the key.

    Methods

    Name Description
    Clear()

    Removes all keys and values from the dictionary and associated value collections.

    Clear(TKey)

    Removes the values in the collection associated with the specified key and removes the key from the dictionary.

    © Singulink. All rights reserved.