Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
AttributeCount
override
int System.Xml.Linq.XNodeReader.AttributeCount
get
Definition at line
19
of file
XNodeReader.cs
.
20
{
21
get
22
{
23
if
(!
IsInteractive
)
24
{
25
return
0;
26
}
27
int
num = 0;
28
XElement
elementInAttributeScope
=
GetElementInAttributeScope
();
29
if
(
elementInAttributeScope
!=
null
)
30
{
31
XAttribute
xAttribute
=
elementInAttributeScope
.lastAttr;
32
if
(
xAttribute
!=
null
)
33
{
34
do
35
{
36
xAttribute
=
xAttribute
.next;
37
if
(!
_omitDuplicateNamespaces
|| !
IsDuplicateNamespaceAttribute
(
xAttribute
))
38
{
39
num++;
40
}
41
}
42
while
(
xAttribute
!=
elementInAttributeScope
.lastAttr);
43
}
44
}
45
return
num;
46
}
47
}
System.Xml.Linq.XNodeReader.IsDuplicateNamespaceAttribute
bool IsDuplicateNamespaceAttribute(XAttribute candidateAttribute)
Definition
XNodeReader.cs:1180
System.Xml.Linq.XNodeReader.GetElementInAttributeScope
XElement GetElementInAttributeScope()
Definition
XNodeReader.cs:979
System.Xml.Linq.XNodeReader.IsInteractive
bool IsInteractive
Definition
XNodeReader.cs:368
System.Xml.Linq.XNodeReader._omitDuplicateNamespaces
readonly bool _omitDuplicateNamespaces
Definition
XNodeReader.cs:17
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System
Xml
Linq
XNodeReader
Generated by
1.10.0