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

◆ RealFoliate()

void System.Xml.XPathNodePointer.RealFoliate ( )
inlineprivate

Definition at line 1171 of file XPathNodePointer.cs.

1172 {
1173 if (!_bNeedFoliate)
1174 {
1175 return;
1176 }
1177 _bNeedFoliate = false;
1178 XmlNode xmlNode = null;
1179 if (_doc.IsTextOnly(_column))
1180 {
1182 }
1183 else
1184 {
1185 if (_column.ColumnMapping == MappingType.Attribute)
1186 {
1188 }
1189 else
1190 {
1192 while (xmlNode != null && (!(xmlNode.LocalName == _column.EncodedColumnName) || !(xmlNode.NamespaceURI == _column.Namespace)))
1193 {
1195 }
1196 }
1197 if (xmlNode != null && _fOnValue)
1198 {
1200 }
1201 }
1202 if (xmlNode == null)
1203 {
1205 }
1206 _node = xmlNode;
1207 _column = null;
1208 _fOnValue = false;
1209 _bNeedFoliate = false;
1210 }
virtual MappingType ColumnMapping
static string DataDom_Foliation
Definition SR.cs:684
Definition SR.cs:7
readonly XmlDataDocument _doc
bool IsTextOnly(DataColumn c)
virtual ? XmlNode GetNamedItem(string name)
virtual ? XmlNode NextSibling
Definition XmlNode.cs:104
virtual ? XmlNode FirstChild
Definition XmlNode.cs:120
virtual ? XmlAttributeCollection Attributes
Definition XmlNode.cs:106

References System.Xml.XmlNode.Attributes, System.SR.DataDom_Foliation, System.Xml.XmlNode.FirstChild, System.Xml.XmlNamedNodeMap.GetNamedItem(), System.Xml.XmlNode.LocalName, System.Xml.XmlNode.NamespaceURI, and System.Xml.XmlNode.NextSibling.

Referenced by System.Xml.XPathNodePointer.Clone(), System.Xml.XPathNodePointer.MoveToAttribute(), and System.Xml.XPathNodePointer.MoveToNextAttribute().