Otter SDK Reference
Version:

GetValueOrDefault<TKey, TValue>(System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue> dictionary, TKey key, TValue defaultValue) Method

Syntax

public static TValue GetValueOrDefault<TKey, TValue>(ConcurrentDictionary<TKey, TValue> dictionary, TKey key, TValue defaultValue)

Parameters

dictionary
Type: System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>
key
Type: TKey
defaultValue
Type: TValue