Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ ReadOuterXml()

override string System.Xml.Xsl.XsltOld.ReaderOutput.ReadOuterXml ( )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 387 of file ReaderOutput.cs.

388 {
389 if (ReadState == ReadState.Interactive)
390 {
391 if (NodeType == XmlNodeType.Element)
392 {
393 StringOutput stringOutput = new StringOutput(_processor);
394 stringOutput.OmitXmlDecl();
396 int depth = Depth;
397 stringOutput.RecordDone(_builder);
398 Read();
399 while (depth < Depth)
400 {
401 stringOutput.RecordDone(_builder);
402 Read();
403 }
404 if (!isEmptyElement)
405 {
406 stringOutput.RecordDone(_builder);
407 Read();
408 }
409 stringOutput.TheEnd();
410 return stringOutput.Result;
411 }
412 if (NodeType == XmlNodeType.Attribute)
413 {
415 }
416 Read();
417 }
418 return string.Empty;
419 }
string AttributeOuterXml(string name, string value)

References System.Xml.Xsl.XsltOld.ReaderOutput._builder, System.Xml.Xsl.XsltOld.ReaderOutput._encoder, System.Xml.Xsl.XsltOld.ReaderOutput._processor, System.Xml.Xsl.XsltOld.ReaderOutput.XmlEncoder.AttributeOuterXml(), System.Xml.Xsl.XsltOld.ReaderOutput.Depth, System.Xml.Dictionary, System.Xml.Xsl.XsltOld.ReaderOutput.IsEmptyElement, System.Xml.Xsl.XsltOld.ReaderOutput.Name, System.Xml.Xsl.XsltOld.ReaderOutput.NodeType, System.Xml.Xsl.XsltOld.ReaderOutput.Read(), and System.Xml.Xsl.XsltOld.ReaderOutput.Value.