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

◆ IsPrefixAndLocalName()

bool System.Xml.XmlBaseReader.XmlNode.IsPrefixAndLocalName ( string prefix,
string localName )
inlineinherited

Definition at line 276 of file XmlBaseReader.cs.

277 {
278 if (_qnameType == QNameType.Normal)
279 {
280 if (Prefix == prefix)
281 {
282 return LocalName == localName;
283 }
284 return false;
285 }
286 if (prefix == "xmlns")
287 {
288 return Namespace.Prefix == localName;
289 }
290 return false;
291 }

References System.Xml.XmlBaseReader.XmlNode._qnameType, System.Xml.Dictionary, System.Xml.XmlBaseReader.XmlNode.LocalName, System.prefix, and System.Xml.XmlBaseReader.XmlNode.Prefix.