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

◆ GetDefaultAttributePrefix()

string System.Xml.Schema.XmlSchemaValidator.GetDefaultAttributePrefix ( string attributeNS)
inlinepackage

Definition at line 2016 of file XmlSchemaValidator.cs.

2017 {
2019 string text = null;
2021 {
2022 string strA = _nameTable.Add(item.Value);
2023 if (Ref.Equal(strA, attributeNS))
2024 {
2025 text = item.Key;
2026 if (text.Length != 0)
2027 {
2028 return text;
2029 }
2030 }
2031 }
2032 return text;
2033 }
readonly IXmlNamespaceResolver _nsResolver
string Add(char[] array, int offset, int length)
IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)

References System.Xml.Schema.XmlSchemaValidator._nameTable, System.Xml.Schema.XmlSchemaValidator._nsResolver, System.Xml.XmlNameTable.Add(), System.Xml.Ref.Equal(), System.Xml.IXmlNamespaceResolver.GetNamespacesInScope(), System.item, and System.text.

Referenced by System.Xml.Schema.XmlSchemaValidator.GetUnspecifiedDefaultAttributes().