Table of Contents

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

key TKey

The key to transform.

transform Func<TState, TState>

The transform to apply to that key's state.

Returns

CollectionEdit<TKey, TIdentity, TState>

The edit.