Table of Contents

Method SafeGet

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

SafeGet<TKey, TValue>(IDictionary<TKey, TValue>, TKey)

public static TValue? SafeGet<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)

Parameters

dictionary IDictionary<TKey, TValue>
key TKey

Returns

TValue

Type Parameters

TKey
TValue