Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Count
override
int System.Xml.XmlElementList.Count
get
Definition at line
33
of file
XmlElementList.cs
.
34
{
35
get
36
{
37
if
(
_empty
)
38
{
39
return
0;
40
}
41
if
(
_matchCount
< 0)
42
{
43
int
num = 0;
44
int
changeCount
=
_changeCount
;
45
XmlNode
n
=
_rootNode
;
46
while
((
n
=
GetMatchingNode
(
n
,
bNext
:
true
)) !=
null
)
47
{
48
num++;
49
}
50
if
(
changeCount
!=
_changeCount
)
51
{
52
return
num;
53
}
54
_matchCount
= num;
55
}
56
return
_matchCount
;
57
}
58
}
System.Xml.XmlElementList._matchCount
int _matchCount
Definition
XmlElementList.cs:27
System.Xml.XmlElementList._empty
bool _empty
Definition
XmlElementList.cs:23
System.Xml.XmlElementList.GetMatchingNode
XmlNode GetMatchingNode(XmlNode n, bool bNext)
Definition
XmlElementList.cs:185
System.Xml.XmlElementList._changeCount
int _changeCount
Definition
XmlElementList.cs:9
System.Xml.XmlElementList._rootNode
readonly XmlNode _rootNode
Definition
XmlElementList.cs:17
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System
Xml
XmlElementList
Generated by
1.10.0