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

◆ XContainer() [2/2]

System.Xml.Linq.XContainer.XContainer ( XContainer other)
inlinepackage

Definition at line 460 of file XContainer.cs.

461 {
462 if (other == null)
463 {
464 throw new ArgumentNullException("other");
465 }
466 if (other.content is string)
467 {
468 content = other.content;
469 return;
470 }
471 XNode xNode = (XNode)other.content;
472 if (xNode != null)
473 {
474 do
475 {
476 xNode = xNode.next;
477 AppendNodeSkipNotify(xNode.CloneNode());
478 }
479 while (xNode != other.content);
480 }
481 }
void AppendNodeSkipNotify(XNode n)

References System.Xml.Linq.XNode.XNode(), System.Xml.Linq.XContainer.AppendNodeSkipNotify(), System.Xml.Linq.XContainer.content, and System.other.