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

◆ GetParentName()

static XmlQualifiedName System.Xml.Serialization.XmlSchemas.GetParentName ( XmlSchemaObject item)
inlinestaticpackage

Definition at line 526 of file XmlSchemas.cs.

527 {
528 while (item.Parent != null)
529 {
530 if (item.Parent is XmlSchemaType)
531 {
533 if (xmlSchemaType.Name != null && xmlSchemaType.Name.Length != 0)
534 {
535 return xmlSchemaType.QualifiedName;
536 }
537 }
538 item = item.Parent;
539 }
540 return XmlQualifiedName.Empty;
541 }

References System.Xml.XmlQualifiedName.Empty, and System.item.

Referenced by System.Xml.Serialization.XmlSchemas.GetSchemaItem(), and System.Xml.Serialization.XmlSchemaImporter.ImportElement().