Interface IReadOnlyCollectionDictionary<TKey, TValue, TValueCollection>
Represents a read-only collection of keys mapped to a read-only keyed collection of values per key.
Inherited Members
Namespace: Singulink.Collections
Assembly: Singulink.Collections.dll
Syntax
public interface IReadOnlyCollectionDictionary<TKey, TValue, TValueCollection> : IReadOnlyCollectionDictionaryBase<TKey, TValue> where TValueCollection : class, IReadOnlyKeyedCollection<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 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 TValueCollection) | Gets the keyed value collection associated with the specified key. |