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

◆ WriteXmlnsAttribute() [2/3]

override void System.Xml.XmlBinaryNodeWriter.WriteXmlnsAttribute ( string prefix,
string ns )
inline

Definition at line 379 of file XmlBinaryNodeWriter.cs.

380 {
381 if (string.IsNullOrEmpty(prefix))
382 {
383 WriteNode(XmlBinaryNodeType.ShortXmlnsAttribute);
384 WriteName(ns);
385 }
386 else
387 {
388 WriteNode(XmlBinaryNodeType.XmlnsAttribute);
390 WriteName(ns);
391 }
392 }
void WriteNode(XmlBinaryNodeType nodeType)

References System.prefix, System.Xml.XmlBinaryNodeWriter.WriteName(), and System.Xml.XmlBinaryNodeWriter.WriteNode().

Referenced by System.Xml.XmlBinaryNodeWriter.WriteXmlnsAttribute().