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

◆ GetValueOrDefault() [2/2]

TValue System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.Builder.GetValueOrDefault ( TKey key,
TValue defaultValue )
inline

Definition at line 367 of file ImmutableDictionary.cs.

368 {
369 Requires.NotNullAllowStructs(key, "key");
371 {
372 return value;
373 }
374 return defaultValue;
375 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)

References System.key, System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.Builder.TryGetValue(), and System.value.