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

◆ FindGlobalElement()

XmlSchemaElement System.Xml.Schema.XmlSchemaInference.FindGlobalElement ( string namespaceURI,
string localName,
out XmlSchema parentSchema )
inlinepackage

Definition at line 1116 of file XmlSchemaInference.cs.

1117 {
1119 XmlSchemaElement xmlSchemaElement = null;
1120 parentSchema = null;
1121 foreach (XmlSchema item in collection)
1122 {
1123 xmlSchemaElement = FindElement(item.Items, localName);
1124 if (xmlSchemaElement != null)
1125 {
1127 return xmlSchemaElement;
1128 }
1129 }
1130 return null;
1131 }
XmlSchemaElement FindElement(XmlSchemaObjectCollection elements, string elementName)

References System.collection, System.item, and System.Xml.Schema.XmlSchemaSet.Schemas().