Delegate DictionaryInserter<TDictionary, TKey, TValue>
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Delegate that inserts a key-value pair into a mutable dictionary.
public delegate bool DictionaryInserter<TDictionary, TKey, TValue>(ref TDictionary dictionary, TKey key, TValue value)
Parameters
dictionary
TDictionaryThe dictionary instance to insert the key-value pair into.
key
TKeyThe key to insert.
value
TValueThe value to insert.
Returns
Type Parameters
TDictionary
The type of the dictionary to insert into.
TKey
The type of the key to insert.
TValue
The type of the value to insert.