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

◆ WriteValue() [18/20]

override void System.Xml.XmlBaseWriter.WriteValue ( UniqueId value)
inlinevirtualinherited

Reimplemented from System.Xml.XmlDictionaryWriter.

Definition at line 2234 of file XmlBaseWriter.cs.

2235 {
2236 if (IsClosed)
2237 {
2238 ThrowClosed();
2239 }
2240 if (value == null)
2241 {
2243 }
2244 FlushBase64();
2245 if (_attributeValue != null)
2246 {
2247 WriteAttributeText(XmlConverter.ToString(value));
2248 }
2249 if (!_isXmlnsAttribute)
2250 {
2251 StartContent();
2253 EndContent();
2254 }
2255 }
void WriteAttributeText(string value)
void WriteUniqueIdText(UniqueId value)

References System.Xml.XmlBaseWriter._attributeValue, System.Xml.XmlBaseWriter._isXmlnsAttribute, System.Xml.XmlBaseWriter._writer, System.Xml.XmlBaseWriter.EndContent(), System.Xml.XmlBaseWriter.FlushBase64(), System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.StartContent(), System.Xml.XmlBaseWriter.ThrowClosed(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(), System.Xml.XmlConverter.ToString(), System.value, System.Xml.XmlBaseWriter.WriteAttributeText(), and System.Xml.XmlNodeWriter.WriteUniqueIdText().