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

◆ Init()

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

Definition at line 299 of file HtmlEncodedRawTextWriter.cs.

300 {
301 if (_elementPropertySearch == null)
302 {
303 _attributePropertySearch = new TernaryTreeReadOnly(HtmlTernaryTree.htmlAttributes);
304 _elementPropertySearch = new TernaryTreeReadOnly(HtmlTernaryTree.htmlElements);
305 }
306 _elementScope = new ByteStack(10);
307 _uriEscapingBuffer = new byte[5];
308 _currentElementProperties = ElementProperties.DEFAULT;
309 _mediaType = settings.MediaType;
310 _doNotEscapeUriAttributes = settings.DoNotEscapeUriAttributes;
311 }
static TernaryTreeReadOnly _elementPropertySearch
static TernaryTreeReadOnly _attributePropertySearch

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

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