Table of Contents

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

key TKey

The key to look up.

state TState

The state for that key, when this method returns true.

Returns

bool

true when the key is available.