Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlComment.cs
Go to the documentation of this file.
1
using
System.Xml.XPath
;
2
3
namespace
System.Xml
;
4
5
public
class
XmlComment
:
XmlCharacterData
6
{
7
public
override
string
Name
=>
OwnerDocument
.
strCommentName
;
8
9
public
override
string
LocalName
=>
OwnerDocument
.
strCommentName
;
10
11
public
override
XmlNodeType
NodeType
=>
XmlNodeType
.Comment;
12
13
internal
override
XPathNodeType
XPNodeType
=>
XPathNodeType
.Comment;
14
15
protected
internal
XmlComment
(
string
?
comment
,
XmlDocument
doc
)
16
:
base
(
comment
,
doc
)
17
{
18
}
19
20
public
override
XmlNode
CloneNode
(
bool
deep
)
21
{
22
return
OwnerDocument
.
CreateComment
(Data);
23
}
24
25
public
override
void
WriteTo
(
XmlWriter
w
)
26
{
27
w
.WriteComment(Data);
28
}
29
30
public
override
void
WriteContentTo
(
XmlWriter
w
)
31
{
32
}
33
}
System.Xml.XmlCharacterData
Definition
XmlCharacterData.cs:8
System.Xml.XmlComment.Name
override string Name
Definition
XmlComment.cs:7
System.Xml.XmlComment.XmlComment
XmlComment(string? comment, XmlDocument doc)
Definition
XmlComment.cs:15
System.Xml.XmlComment.WriteTo
override void WriteTo(XmlWriter w)
Definition
XmlComment.cs:25
System.Xml.XmlComment.NodeType
override XmlNodeType NodeType
Definition
XmlComment.cs:11
System.Xml.XmlComment.XPNodeType
override XPathNodeType XPNodeType
Definition
XmlComment.cs:13
System.Xml.XmlComment.CloneNode
override XmlNode CloneNode(bool deep)
Definition
XmlComment.cs:20
System.Xml.XmlComment.WriteContentTo
override void WriteContentTo(XmlWriter w)
Definition
XmlComment.cs:30
System.Xml.XmlComment.LocalName
override string LocalName
Definition
XmlComment.cs:9
System.Xml.XmlComment
Definition
XmlComment.cs:6
System.Xml.XmlDocument.CreateComment
virtual XmlComment CreateComment(string? data)
Definition
XmlDocument.cs:776
System.Xml.XmlDocument.strCommentName
string strCommentName
Definition
XmlDocument.cs:77
System.Xml.XmlDocument
Definition
XmlDocument.cs:13
System.Xml.XmlNode.OwnerDocument
virtual ? XmlDocument OwnerDocument
Definition
XmlNode.cs:109
System.Xml.XmlNode
Definition
XmlNode.cs:13
System.Xml.XmlWriter
Definition
XmlWriter.cs:11
System.Xml.XPath.XPathNodeType
XPathNodeType
Definition
XPathNodeType.cs:4
System.Xml.XPath
Definition
Extensions.cs:5
System.Xml.XmlNodeType
XmlNodeType
Definition
XmlNodeType.cs:4
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.Xml
Definition
BaseRegionIterator.cs:1
source
System.Private.Xml
System.Xml
XmlComment.cs
Generated by
1.10.0