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

◆ GetOrCreateValue()

TValue System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >.GetOrCreateValue ( TKey key)
inline

Definition at line 483 of file ConditionalWeakTable.cs.

484 {
485 return GetValue(key, (TKey _) => Activator.CreateInstance<TValue>());
486 }
TValue GetValue(TKey key, CreateValueCallback createValueCallback)

References System.Activator.CreateInstance(), System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >.GetValue(), and System.key.