Class MutableKeyValue
Factory class that creates MutableKeyValue<TKey, TValue> mutable key/value pair instances, where the key and value can be both set and retrieved.
These instances are mainly used as the dictionary input of DictionaryLookupTransform<TInputOutputError, TDictionaryInput, TKey, TValue> and DictionaryLookupSplitTransform<TInputOutputError, TDictionaryInput, TKey, TValue>.
When mutability is not needed, consider using KeyValuePair<TKey,TValue>.
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public static class MutableKeyValue
Methods
Create<TKey, TValue>(TKey, TValue)
Factory method that creates a MutableKeyValue<TKey, TValue> instance.
Declaration
public static MutableKeyValue<TKey, TValue> Create<TKey, TValue>(TKey key, TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | The key. |
| TValue | value | The value. |
Returns
| Type | Description |
|---|---|
| MutableKeyValue<TKey, TValue> | The initialized instance. |
Type Parameters
| Name | Description |
|---|---|
| TKey | The type of the key. Does not need to be specified. |
| TValue | The type of the value. Does not need to be specified. |
See Also
MutableKeyValue<TKey, TValue>
DictionaryLookupTransform<TInputOutputError, TDictionaryInput, TKey, TValue>
DictionaryLookupSplitTransform<TInputOutputError, TDictionaryInput, TKey, TValue>