Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetValueOrDefault< TKey, TValue >() [1/2]

static ? TValue System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.GetValueOrDefault< TKey, TValue > ( this IImmutableDictionary< TKey, TValue > dictionary,
TKey key )
inlinestatic
Type Constraints
TKey :notnull 

Definition at line 119 of file ImmutableDictionary.cs.

119 : notnull
120 {
121 return dictionary.GetValueOrDefault(key, default(TValue));
122 }

References System.dictionary, and System.key.