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
dictionaryTDictionaryThe dictionary instance to insert the key-value pair into.
keyTKeyThe key to insert.
valueTValueThe value to insert.
Returns
Type Parameters
TDictionaryThe type of the dictionary to insert into.
TKeyThe type of the key to insert.
TValueThe type of the value to insert.