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

◆ GetQualifiedName()

XmlQualifiedName System.Xml.Schema.XmlSchemaParticle.GetQualifiedName ( )
inlinepackageinherited

Definition at line 145 of file XmlSchemaParticle.cs.

146 {
147 if (this is XmlSchemaElement xmlSchemaElement)
148 {
149 return xmlSchemaElement.QualifiedName;
150 }
151 if (this is XmlSchemaAny xmlSchemaAny)
152 {
153 string @namespace = xmlSchemaAny.Namespace;
154 @namespace = ((@namespace == null) ? string.Empty : @namespace.Trim());
155 return new XmlQualifiedName("*", (@namespace.Length == 0) ? "##any" : @namespace);
156 }
157 return XmlQualifiedName.Empty;
158 }

References System.Xml.Dictionary, System.Xml.XmlQualifiedName.Empty, and System.Xml.Schema.Length.