Method TryGetState
- Namespace
- SodaFlow.Collections
- Assembly
- SodaFlow.Core.Collections.dll
TryGetState(TKey, out TState?)
Returns the state for a key, when there is one.
public abstract bool TryGetState(TKey key, out TState? state)
Parameters
keyTKeyThe key to look up.
stateTStateThe state for that key, when this method returns true.