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

◆ WriteXmlDeclaration() [2/2]

override void System.Xml.XmlEncodedRawTextWriter.WriteXmlDeclaration ( XmlStandalone standalone)
inlinepackagevirtualinherited

Reimplemented from System.Xml.XmlRawWriter.

Definition at line 162 of file XmlEncodedRawTextWriter.cs.

163 {
165 {
167 {
169 }
170 RawText("<?xml version=\"");
171 RawText("1.0");
172 if (_encoding != null)
173 {
174 RawText("\" encoding=\"");
176 }
177 if (standalone != 0)
178 {
179 RawText("\" standalone=\"");
180 RawText((standalone == XmlStandalone.Yes) ? "yes" : "no");
181 }
182 RawText("\"?>");
183 }
184 }
virtual string WebName
Definition Encoding.cs:386

References System.Xml.XmlEncodedRawTextWriter._autoXmlDeclaration, System.Xml.XmlEncodedRawTextWriter._encoding, System.Xml.XmlEncodedRawTextWriter._inTextContent, System.Xml.XmlEncodedRawTextWriter._omitXmlDeclaration, System.Xml.XmlEncodedRawTextWriter._trackTextContent, System.Xml.XmlEncodedRawTextWriter.ChangeTextContentMark(), System.Xml.Dictionary, System.Xml.XmlEncodedRawTextWriter.RawText(), System.value, and System.Text.Encoding.WebName.

Referenced by System.Xml.XmlEncodedRawTextWriter.XmlEncodedRawTextWriter(), and System.Xml.XmlEncodedRawTextWriter.XmlEncodedRawTextWriter().