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

◆ this[string name, string ns] [1/2]

object System.Xml.Serialization.NameTable.this[string name, string ns]
getsetpackage

Implements System.Xml.Serialization.INameScope.

Definition at line 26 of file NameTable.cs.

27 {
28 get
29 {
30 if (!_table.TryGetValue(new NameKey(name, ns), out var value))
31 {
32 return null;
33 }
34 return value;
35 }
36 set
37 {
38 _table[new NameKey(name, ns)] = value;
39 }
40 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
readonly Dictionary< NameKey, object > _table
Definition NameTable.cs:8