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

◆ CloneNode()

override XmlNode System.Xml.XmlBoundElement.CloneNode ( bool deep)
inline

Definition at line 209 of file XmlBoundElement.cs.

210 {
211 XmlDataDocument xmlDataDocument = (XmlDataDocument)OwnerDocument;
212 ElementState autoFoliationState = xmlDataDocument.AutoFoliationState;
213 xmlDataDocument.AutoFoliationState = ElementState.WeakFoliation;
214 try
215 {
216 Foliate(ElementState.WeakFoliation);
217 return (XmlElement)base.CloneNode(deep);
218 }
219 finally
220 {
222 }
223 }
void Foliate(ElementState newState)
override XmlDocument OwnerDocument
Definition XmlElement.cs:49
XmlElement(XmlName name, bool empty, XmlDocument doc)

References System.Xml.Dictionary, System.Xml.XmlBoundElement.Foliate(), and System.Xml.XmlElement.OwnerDocument.