Interface ISetDictionary<TKey, TValue>
Represents a collection of keys mapped to a keyed set of unique values per key.
Inherited Members
Namespace: Singulink.Collections
Assembly: Singulink.Collections.dll
Syntax
public interface ISetDictionary<TKey, TValue> : ICollectionDictionary<TKey, TValue, IKeyedSet<TKey, TValue>>, IReadOnlyCollectionDictionary<TKey, TValue, IKeyedSet<TKey, TValue>>, IReadOnlySetDictionary<TKey, TValue>, IReadOnlyCollectionDictionary<TKey, TValue, IReadOnlyKeyedSet<TKey, TValue>>, IReadOnlyCollectionDictionaryBase<TKey, TValue>
Type Parameters
| Name | Description |
|---|---|
| TKey | The type of the keys in the dictionary. |
| TValue | The type of the values in the dictionary. |
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. |
| ValueCollections | Gets a collection containing the keyed value collections in the dictionary. |
Methods
| Name | Description |
|---|---|
| TryGetValues(TKey, out IKeyedSet<TKey, TValue>) | Gets the keyed value collection associated with the specified key. |