|
LUSID C# SDK
|
A dictionary in which one key has many associated values. More...

Public Member Functions | |
| Multimap () | |
| Empty Constructor. More... | |
| Multimap (IEqualityComparer< TKey > comparer) | |
| Constructor with comparer. More... | |
| IEnumerator< KeyValuePair< TKey, IList< TValue > > > | GetEnumerator () |
| To get the enumerator. More... | |
| void | Add (KeyValuePair< TKey, IList< TValue >> item) |
| Add values to Multimap More... | |
| void | Add (Multimap< TKey, TValue > multimap) |
| Add Multimap to Multimap More... | |
| void | Clear () |
| Clear Multimap More... | |
| bool | Contains (KeyValuePair< TKey, IList< TValue >> item) |
| Determines whether Multimap contains the specified item. More... | |
| void | CopyTo (KeyValuePair< TKey, IList< TValue >>[] array, int arrayIndex) |
| Copy items of the Multimap to an array, starting at a particular array index. More... | |
| bool | Remove (KeyValuePair< TKey, IList< TValue >> item) |
| Removes the specified item from the Multimap. More... | |
| void | Add (TKey key, IList< TValue > value) |
| Adds an item with the provided key and value to the Multimap. More... | |
| bool | ContainsKey (TKey key) |
| Determines whether the Multimap contains an item with the specified key. More... | |
| bool | Remove (TKey key) |
| Removes item with the specified key from the Multimap. More... | |
| bool | TryGetValue (TKey key, out IList< TValue > value) |
| Gets the value associated with the specified key. More... | |
| void | CopyTo (Array array, int index) |
| Copy the items of the Multimap to an System.Array, starting at a particular System.Array index. More... | |
| void | Add (TKey key, TValue value) |
| Adds an item with the provided key and value to the Multimap. More... | |
Public Attributes | |
| int | Count => _dictionary.Count |
| Gets the number of items contained in the Multimap. More... | |
| bool | IsReadOnly => false |
| Gets a value indicating whether the Multimap is read-only. More... | |
| ICollection< TKey > | Keys => _dictionary.Keys |
| Gets a System.Collections.Generic.ICollection containing the keys of the Multimap. More... | |
| ICollection< IList< TValue > > | Values => _dictionary.Values |
| Gets a System.Collections.Generic.ICollection containing the values of the Multimap. More... | |
Properties | |
| IList< TValue > | this[TKey key] [get, set] |
| Gets or sets the item with the specified key. More... | |
A dictionary in which one key has many associated values.
| TKey | The type of the key |
| TValue | The type of the value associated with the key. |
|
inline |
Empty Constructor.
|
inline |
Constructor with comparer.
| comparer |
|
inline |
Add values to Multimap
| item | Key value pair |
|
inline |
|
inline |
|
inline |
|
inline |
Clear Multimap
|
inline |
|
inline |
|
inline |
Copy items of the Multimap to an array, starting at a particular array index.
| array | The array that is the destination of the items copied from Multimap. The array must have zero-based indexing. |
| arrayIndex | The zero-based index in array at which copying begins. |
| NotImplementedException | Method needs to be implemented |
|
inline |
Copy the items of the Multimap to an System.Array, starting at a particular System.Array index.
| array | The one-dimensional System.Array that is the destination of the items copied from Multimap. The System.Array must have zero-based indexing. |
| index | The zero-based index in array at which copying begins. |
|
inline |
To get the enumerator.
|
inline |
Removes the specified item from the Multimap.
| item | Key value pair |
| NotImplementedException | Method needs to be implemented |
|
inline |
|
inline |
Gets the value associated with the specified key.
| key | The key whose value to get. |
| value | When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
| int Lusid.Sdk.Client.Multimap< TKey, TValue >.Count => _dictionary.Count |
Gets the number of items contained in the Multimap.
| bool Lusid.Sdk.Client.Multimap< TKey, TValue >.IsReadOnly => false |
Gets a value indicating whether the Multimap is read-only.
| ICollection<TKey> Lusid.Sdk.Client.Multimap< TKey, TValue >.Keys => _dictionary.Keys |
Gets a System.Collections.Generic.ICollection containing the keys of the Multimap.
| ICollection<IList<TValue> > Lusid.Sdk.Client.Multimap< TKey, TValue >.Values => _dictionary.Values |
Gets a System.Collections.Generic.ICollection containing the values of the Multimap.
|
getset |
Gets or sets the item with the specified key.
| key | The key of the item to get or set. |
1.8.13