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

◆ WriteNodes()

static void System.Runtime.Serialization.XmlSerializableServices.WriteNodes ( XmlWriter xmlWriter,
XmlNode??[] nodes )
inlinestatic

Definition at line 62 of file XmlSerializableServices.cs.

63 {
64 if (xmlWriter == null)
65 {
66 throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("xmlWriter");
67 }
68 if (nodes == null)
69 {
70 return;
71 }
72 for (int i = 0; i < nodes.Length; i++)
73 {
74 if (nodes[i] != null)
75 {
76 nodes[i].WriteTo(xmlWriter);
77 }
78 }
79 }

References System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(), and System.Xml.XmlNode.WriteTo().