Method Update
- Namespace
- SodaFlow.Collections
- Assembly
- SodaFlow.Core.Collections.dll
Update(TKey, Func<TState, TState>)
An edit applying one transform to one key.
public static CollectionEdit<TKey, TIdentity, TState> Update(TKey key, Func<TState, TState> transform)
Parameters
keyTKeyThe key to transform.
transformFunc<TState, TState>The transform to apply to that key's state.
Returns
- CollectionEdit<TKey, TIdentity, TState>
The edit.