ProGet SDK Reference
Version:

GetValueOrDefault<TKey, TValue>(System.Collections.Generic.IReadOnlyDictionary<TKey, TValue> dictionary, TKey key, TValue defaultValue) Method

Syntax

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

Parameters

dictionary
Type: System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
key
Type: TKey
defaultValue
Type: TValue