Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlLinkedNode.cs
Go to the documentation of this file.
1
namespace
System.Xml
;
2
3
public
abstract
class
XmlLinkedNode
:
XmlNode
4
{
5
internal
XmlLinkedNode
next
;
6
7
public
override
XmlNode
?
PreviousSibling
8
{
9
get
10
{
11
XmlNode
xmlNode
=
ParentNode
;
12
if
(
xmlNode
!=
null
)
13
{
14
XmlNode
xmlNode2
=
xmlNode
.
FirstChild
;
15
while
(
xmlNode2
!=
null
)
16
{
17
XmlNode
nextSibling
=
xmlNode2
.
NextSibling
;
18
if
(
nextSibling
==
this
)
19
{
20
break
;
21
}
22
xmlNode2
=
nextSibling
;
23
}
24
return
xmlNode2
;
25
}
26
return
null
;
27
}
28
}
29
30
public
override
XmlNode
?
NextSibling
31
{
32
get
33
{
34
XmlNode
xmlNode
=
ParentNode
;
35
if
(
xmlNode
!=
null
&&
next
!=
xmlNode
.
FirstChild
)
36
{
37
return
next
;
38
}
39
return
null
;
40
}
41
}
42
43
internal
XmlLinkedNode
(
XmlDocument
doc
)
44
:
base
(
doc
)
45
{
46
next
=
null
;
47
}
48
}
System.Xml.XmlDocument
Definition
XmlDocument.cs:13
System.Xml.XmlLinkedNode.PreviousSibling
override? XmlNode PreviousSibling
Definition
XmlLinkedNode.cs:8
System.Xml.XmlLinkedNode.NextSibling
override? XmlNode NextSibling
Definition
XmlLinkedNode.cs:31
System.Xml.XmlLinkedNode.XmlLinkedNode
XmlLinkedNode(XmlDocument doc)
Definition
XmlLinkedNode.cs:43
System.Xml.XmlLinkedNode.next
XmlLinkedNode next
Definition
XmlLinkedNode.cs:5
System.Xml.XmlLinkedNode
Definition
XmlLinkedNode.cs:4
System.Xml.XmlNode.ParentNode
virtual ? XmlNode ParentNode
Definition
XmlNode.cs:76
System.Xml.XmlNode.NextSibling
virtual ? XmlNode NextSibling
Definition
XmlNode.cs:104
System.Xml.XmlNode.FirstChild
virtual ? XmlNode FirstChild
Definition
XmlNode.cs:120
System.Xml.XmlNode
Definition
XmlNode.cs:13
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.Xml
Definition
BaseRegionIterator.cs:1
source
System.Private.Xml
System.Xml
XmlLinkedNode.cs
Generated by
1.10.0