Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
OuterXml
virtual
string
System.Xml.XPath.XPathNavigator.OuterXml
get
set
inherited
Definition at line
451
of file
XPathNavigator.cs
.
452
{
453
get
454
{
455
if
(
NodeType
== XPathNodeType.Attribute)
456
{
457
return
Name
+
"=\""
+
Value
+
"\""
;
458
}
459
if
(
NodeType
== XPathNodeType.Namespace)
460
{
461
if
(
LocalName
.Length == 0)
462
{
463
return
"xmlns=\""
+
Value
+
"\""
;
464
}
465
return
"xmlns:"
+
LocalName
+
"=\""
+
Value
+
"\""
;
466
}
467
StringWriter
stringWriter
=
new
StringWriter
(
CultureInfo
.
InvariantCulture
);
468
XmlWriterSettings
xmlWriterSettings
=
new
XmlWriterSettings();
469
xmlWriterSettings.Indent
=
true
;
470
xmlWriterSettings.OmitXmlDeclaration
=
true
;
471
xmlWriterSettings.ConformanceLevel
= ConformanceLevel.Auto;
472
XmlWriter
xmlWriter
= XmlWriter.Create(
stringWriter
,
xmlWriterSettings
);
473
try
474
{
475
xmlWriter
.WriteNode(
this
,
defattr
:
true
);
476
}
477
finally
478
{
479
xmlWriter
.Close();
480
}
481
return
stringWriter
.ToString();
482
}
483
set
484
{
485
ReplaceSelf
(
value
);
486
}
487
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Globalization.CultureInfo.InvariantCulture
static CultureInfo InvariantCulture
Definition
CultureInfo.cs:144
System.Globalization.CultureInfo
Definition
CultureInfo.cs:8
System.IO.StringWriter
Definition
StringWriter.cs:9
System.Xml.XPath.XPathItem.Value
string Value
Definition
XPathItem.cs:11
System.Xml.XPath.XPathNavigator.ReplaceSelf
virtual void ReplaceSelf(string newNode)
Definition
XPathNavigator.cs:1435
System.Xml.XPath.XPathNavigator.LocalName
string LocalName
Definition
XPathNavigator.cs:390
System.Xml.XPath.XPathNavigator.NodeType
XPathNodeType NodeType
Definition
XPathNavigator.cs:388
System.Xml.XPath.XPathNavigator.Name
string Name
Definition
XPathNavigator.cs:392
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
System
Xml
Xsl
Runtime
RtfTreeNavigator
Generated by
1.10.0