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

◆ GetEventArgs()

virtual XmlNodeChangedEventArgs System.Xml.XmlNode.GetEventArgs ( XmlNode node,
XmlNode oldParent,
XmlNode newParent,
string oldValue,
string newValue,
XmlNodeChangedAction action )
inlinepackagevirtualinherited

Reimplemented in System.Xml.XmlDocument.

Definition at line 1239 of file XmlNode.cs.

1240 {
1241 XmlDocument ownerDocument = OwnerDocument;
1242 if (ownerDocument != null)
1243 {
1244 if (!ownerDocument.IsLoading && ((newParent != null && newParent.IsReadOnly) || (oldParent != null && oldParent.IsReadOnly)))
1245 {
1247 }
1248 return ownerDocument.GetEventArgs(node, oldParent, newParent, oldValue, newValue, action);
1249 }
1250 return null;
1251 }
static string Xdom_Node_Modify_ReadOnly
Definition SR.cs:1344
Definition SR.cs:7
virtual ? XmlDocument OwnerDocument
Definition XmlNode.cs:109

References System.action, System.Xml.Dictionary, System.Xml.XmlNode.OwnerDocument, and System.SR.Xdom_Node_Modify_ReadOnly.

Referenced by System.Xml.XmlNamedNodeMap.AddNode(), System.Xml.XmlNode.AppendChild(), System.Xml.XmlCharacterData.AppendData(), System.Xml.XmlCharacterData.DeleteData(), System.Xml.XmlNode.InsertAfter(), System.Xml.XmlNode.InsertBefore(), System.Xml.XmlCharacterData.InsertData(), System.Xml.XmlNamedNodeMap.InsertNodeAt(), System.Xml.XmlNode.RemoveChild(), System.Xml.XmlNamedNodeMap.RemoveNodeAt(), and System.Xml.XmlCharacterData.ReplaceData().