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

◆ ImportAttributes()

void System.Xml.XmlDocument.ImportAttributes ( XmlNode fromElem,
XmlNode toElem )
inlineprivate

Definition at line 1117 of file XmlDocument.cs.

1118 {
1119 int count = fromElem.Attributes.Count;
1120 for (int i = 0; i < count; i++)
1121 {
1122 if (fromElem.Attributes[i].Specified)
1123 {
1124 toElem.Attributes.SetNamedItem(ImportNodeInternal(fromElem.Attributes[i], deep: true));
1125 }
1126 }
1127 }
XmlNode ImportNodeInternal(XmlNode node, bool deep)

References System.count, System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Xml.XmlDocument.ImportNodeInternal().

Referenced by System.Xml.XmlDocument.ImportNodeInternal().