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

◆ OnAddRow()

void System.Xml.XmlDataDocument.OnAddRow ( DataRow row)
inlineprivate

Definition at line 1092 of file XmlDataDocument.cs.

1093 {
1094 XmlBoundElement xmlBoundElement = (XmlBoundElement)GetElementFromRow(row);
1095 if (NeedXSI_NilAttr(row) && !xmlBoundElement.IsFoliated)
1096 {
1098 }
1099 DataRow rowFromElement = GetRowFromElement(base.DocumentElement);
1100 if (rowFromElement != null)
1101 {
1103 if (nestedParent == null)
1104 {
1106 }
1107 }
1111 }
DataRow GetNestedParent(DataRow row)
void ForceFoliation(XmlBoundElement node, ElementState newState)
void OnNestedParentChange(DataRow child, XmlBoundElement childElement, DataColumn childCol)
void FixNestedChildren(DataRow row, XmlElement rowElement)
XmlElement GetElementFromRow(DataRow r)
bool NeedXSI_NilAttr(DataRow row)
DataRow? GetRowFromElement(XmlElement? e)
virtual ? XmlNode AppendChild(XmlNode newChild)
Definition XmlNode.cs:739

References System.Xml.XmlNode.AppendChild(), System.Xml.XmlDataDocument.AutoFoliationState, System.Xml.XmlDataDocument.DemoteDocumentElement(), System.Xml.XmlDataDocument.EnsureDocumentElement(), System.Xml.XmlDataDocument.FixNestedChildren(), System.Xml.XmlDataDocument.ForceFoliation(), System.Xml.XmlDataDocument.GetElementFromRow(), System.Xml.XmlDataDocument.GetNestedParent(), System.Xml.XmlDataDocument.GetRowFromElement(), System.Xml.XmlDataDocument.NeedXSI_NilAttr(), and System.Xml.XmlDataDocument.OnNestedParentChange().

Referenced by System.Xml.XmlDataDocument.LoadTreeFromDataSet(), and System.Xml.XmlDataDocument.OnRowChanged().