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

◆ GetQualifiedNamePrefix()

string System.Xml.XmlBaseWriter.GetQualifiedNamePrefix ( string namespaceUri,
XmlDictionaryString xNs )
inlineprivateinherited

Definition at line 1584 of file XmlBaseWriter.cs.

1585 {
1586 string text = _nsMgr.LookupPrefix(namespaceUri);
1587 if (text == null)
1588 {
1589 if (_writeState != WriteState.Attribute)
1590 {
1592 }
1593 text = GeneratePrefix(namespaceUri, xNs);
1594 }
1595 return text;
1596 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string XmlNamespaceNotFound
Definition SR.cs:474
Definition SR.cs:7
readonly NamespaceManager _nsMgr
string GeneratePrefix(string ns, XmlDictionaryString xNs)

References System.Xml.XmlBaseWriter._nsMgr, System.Xml.XmlBaseWriter._writeState, System.Xml.ArgumentException, System.Xml.Dictionary, System.SR.Format(), System.Xml.XmlBaseWriter.GeneratePrefix(), System.Xml.XmlBaseWriter.NamespaceManager.LookupPrefix(), System.text, System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), and System.SR.XmlNamespaceNotFound.

Referenced by System.Xml.XmlBaseWriter.WriteQualifiedName(), and System.Xml.XmlBaseWriter.WriteQualifiedName().