Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
AttributeCount
override
int System.Xml.XPath.XPathNavigatorReader.AttributeCount
get
Definition at line
218
of file
XPathNavigatorReader.cs
.
219
{
220
get
221
{
222
if
(
_attrCount
< 0)
223
{
224
XPathNavigator
elemNav
=
GetElemNav
();
225
int
num = 0;
226
if
(
elemNav
!=
null
)
227
{
228
if
(
elemNav
.MoveToFirstNamespace(
XPathNamespaceScope
.Local))
229
{
230
do
231
{
232
num++;
233
}
234
while
(
elemNav
.MoveToNextNamespace(
XPathNamespaceScope
.Local));
235
elemNav
.MoveToParent();
236
}
237
if
(
elemNav
.MoveToFirstAttribute())
238
{
239
do
240
{
241
num++;
242
}
243
while
(
elemNav
.MoveToNextAttribute());
244
}
245
}
246
_attrCount
= num;
247
}
248
return
_attrCount
;
249
}
250
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Xml.XPath.XPathNavigatorReader._attrCount
int _attrCount
Definition
XPathNavigatorReader.cs:31
System.Xml.XPath.XPathNavigatorReader.GetElemNav
XPathNavigator GetElemNav()
Definition
XPathNavigatorReader.cs:325
System.Xml.XPath.XPathNamespaceScope
XPathNamespaceScope
Definition
XPathNamespaceScope.cs:4
System
Xml
XPath
XPathNavigatorReader
Generated by
1.10.0