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

◆ WriteStartElement() [3/4]

override void System.Xml.HtmlUtf8RawTextWriterIndent.WriteStartElement ( string prefix,
string localName,
string ns )
inline

Definition at line 27 of file HtmlUtf8RawTextWriterIndent.cs.

28 {
30 if (ns.Length == 0)
31 {
32 _currentElementProperties = (ElementProperties)HtmlUtf8RawTextWriter._elementPropertySearch.FindCaseInsensitiveString(localName);
33 if (_endBlockPos == _bufPos && (_currentElementProperties & ElementProperties.BLOCK_WS) != 0)
34 {
36 }
38 _bufBytes[_bufPos++] = 60;
39 }
40 else
41 {
43 if (_endBlockPos == _bufPos)
44 {
46 }
48 _bufBytes[_bufPos++] = 60;
49 if (prefix.Length != 0)
50 {
52 _bufBytes[_bufPos++] = 58;
53 }
54 }
55 RawText(localName);
57 }
void Push(byte data)
Definition ByteStack.cs:21
HtmlUtf8RawTextWriter(Stream stream, XmlWriterSettings settings)

References System.Xml.XmlUtf8RawTextWriter._attrEndPos, System.Xml.XmlUtf8RawTextWriter._bufBytes, System.Xml.XmlUtf8RawTextWriter._bufPos, System.Xml.HtmlUtf8RawTextWriter._currentElementProperties, System.Xml.HtmlUtf8RawTextWriter._elementPropertySearch, System.Xml.HtmlUtf8RawTextWriter._elementScope, System.Xml.HtmlUtf8RawTextWriterIndent._endBlockPos, System.Xml.HtmlUtf8RawTextWriterIndent._indentLevel, System.Xml.Dictionary, System.prefix, System.Xml.ByteStack.Push(), System.Xml.XmlUtf8RawTextWriter.RawText(), and System.Xml.HtmlUtf8RawTextWriterIndent.WriteIndent().