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

◆ MoveToFirstNamespace() [2/2]

override bool System.Xml.XPath.XNodeNavigator.MoveToFirstNamespace ( XPathNamespaceScope scope)
inline

Definition at line 369 of file XNodeNavigator.cs.

370 {
372 {
373 XAttribute xAttribute = null;
374 switch (scope)
375 {
376 case XPathNamespaceScope.Local:
378 break;
379 case XPathNamespaceScope.ExcludeXml:
381 while (xAttribute != null && xAttribute.Name.LocalName == "xml")
382 {
384 }
385 break;
386 case XPathNamespaceScope.All:
388 if (xAttribute == null)
389 {
391 }
392 break;
393 }
394 if (xAttribute != null)
395 {
398 return true;
399 }
400 }
401 return false;
402 }
static XAttribute GetXmlNamespaceDeclaration()
static XAttribute GetNextNamespaceDeclarationGlobal(XAttribute a)
static XAttribute GetFirstNamespaceDeclarationGlobal(XElement e)
static XAttribute GetFirstNamespaceDeclarationLocal(XElement e)

References System.Xml.XPath.XNodeNavigator._parent, System.Xml.XPath.XNodeNavigator._source, System.Xml.Dictionary, System.Xml.XPath.XNodeNavigator.GetFirstNamespaceDeclarationGlobal(), System.Xml.XPath.XNodeNavigator.GetFirstNamespaceDeclarationLocal(), System.Xml.XPath.XNodeNavigator.GetNextNamespaceDeclarationGlobal(), and System.Xml.XPath.XNodeNavigator.GetXmlNamespaceDeclaration().