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

◆ GetObject()

object System.Runtime.Serialization.HybridObjectCache.GetObject ( string id)
inlinepackage

Definition at line 36 of file HybridObjectCache.cs.

37 {
39 {
42 }
43 else
44 {
46 }
47 if (_objectDictionary != null)
48 {
50 return value;
51 }
52 return null;
53 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool TryAdd(TKey key, TValue value)
void Add(TKey key, TValue value)
Dictionary< string, object > _referencedObjectDictionary

References System.Runtime.Serialization.HybridObjectCache._objectDictionary, System.Runtime.Serialization.HybridObjectCache._referencedObjectDictionary, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.TryAdd(), System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Runtime.Serialization.XmlObjectSerializerReadContext.GetExistingObject(), and System.Runtime.Serialization.XmlObjectSerializerReadContext.GetExistingObjectOrExtensionData().