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

◆ Init()

void System.Xml.HtmlUtf8RawTextWriter.Init ( XmlWriterSettings settings)
inlineprivate

Definition at line 257 of file HtmlUtf8RawTextWriter.cs.

258 {
259 if (_elementPropertySearch == null)
260 {
261 _attributePropertySearch = new TernaryTreeReadOnly(HtmlTernaryTree.htmlAttributes);
262 _elementPropertySearch = new TernaryTreeReadOnly(HtmlTernaryTree.htmlElements);
263 }
264 _elementScope = new ByteStack(10);
265 _uriEscapingBuffer = new byte[5];
266 _currentElementProperties = ElementProperties.DEFAULT;
267 _mediaType = settings.MediaType;
268 _doNotEscapeUriAttributes = settings.DoNotEscapeUriAttributes;
269 }
static TernaryTreeReadOnly _attributePropertySearch
static TernaryTreeReadOnly _elementPropertySearch

References System.Xml.HtmlUtf8RawTextWriter._attributePropertySearch, System.Xml.HtmlUtf8RawTextWriter._currentElementProperties, System.Xml.HtmlUtf8RawTextWriter._doNotEscapeUriAttributes, System.Xml.HtmlUtf8RawTextWriter._elementPropertySearch, System.Xml.HtmlUtf8RawTextWriter._elementScope, System.Xml.HtmlUtf8RawTextWriter._mediaType, System.Xml.HtmlUtf8RawTextWriter._uriEscapingBuffer, System.Xml.XmlWriterSettings.DoNotEscapeUriAttributes, System.Xml.HtmlTernaryTree.htmlAttributes, System.Xml.HtmlTernaryTree.htmlElements, and System.Xml.XmlWriterSettings.MediaType.

Referenced by System.Xml.HtmlUtf8RawTextWriter.HtmlUtf8RawTextWriter().