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

◆ WriteHashtable()

Hashtable System.Xml.Serialization.ReflectionXmlSerializationReader.WriteHashtable ( EnumMapping mapping,
string name )
inlineprivate

Definition at line 1151 of file ReflectionXmlSerializationReader.cs.

1152 {
1153 Hashtable hashtable = new Hashtable();
1154 ConstantMapping[] constants = mapping.Constants;
1155 for (int i = 0; i < constants.Length; i++)
1156 {
1157 hashtable.Add(constants[i].XmlName, constants[i].Value);
1158 }
1159 return hashtable;
1160 }
virtual void Add(object key, object? value)
Definition Hashtable.cs:676

References System.Collections.Hashtable.Add().

Referenced by System.Xml.Serialization.ReflectionXmlSerializationReader.WriteEnumMethod().