Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XPathSelfQuery.cs
Go to the documentation of this file.
1
using
System.Xml.XPath
;
2
3
namespace
MS.Internal.Xml.XPath
;
4
5
internal
sealed
class
XPathSelfQuery
:
BaseAxisQuery
6
{
7
public
XPathSelfQuery
(
Query
qyInput
,
string
Name
,
string
Prefix,
XPathNodeType
Type
)
8
: base(
qyInput
,
Name
, Prefix,
Type
)
9
{
10
}
11
12
private
XPathSelfQuery
(
XPathSelfQuery
other)
13
: base(other)
14
{
15
}
16
17
public
override
XPathNavigator
Advance
()
18
{
19
while
((
currentNode
=
qyInput
.
Advance
()) !=
null
)
20
{
21
if
(
matches
(
currentNode
))
22
{
23
position
= 1;
24
return
currentNode
;
25
}
26
}
27
return
null
;
28
}
29
30
public
override
XPathNodeIterator
Clone
()
31
{
32
return
new
XPathSelfQuery
(
this
);
33
}
34
}
MS.Internal.Xml.XPath.BaseAxisQuery.position
int position
Definition
BaseAxisQuery.cs:22
MS.Internal.Xml.XPath.BaseAxisQuery.matches
virtual bool matches(XPathNavigator e)
Definition
BaseAxisQuery.cs:102
MS.Internal.Xml.XPath.BaseAxisQuery.Name
string Name
Definition
BaseAxisQuery.cs:24
MS.Internal.Xml.XPath.BaseAxisQuery.qyInput
Query qyInput
Definition
BaseAxisQuery.cs:8
MS.Internal.Xml.XPath.BaseAxisQuery.currentNode
XPathNavigator currentNode
Definition
BaseAxisQuery.cs:20
MS.Internal.Xml.XPath.BaseAxisQuery
Definition
BaseAxisQuery.cs:7
MS.Internal.Xml.XPath.Query.Advance
XPathNavigator Advance()
MS.Internal.Xml.XPath.Query
Definition
Query.cs:13
MS.Internal.Xml.XPath.XPathSelfQuery.XPathSelfQuery
XPathSelfQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type)
Definition
XPathSelfQuery.cs:7
MS.Internal.Xml.XPath.XPathSelfQuery.Clone
override XPathNodeIterator Clone()
Definition
XPathSelfQuery.cs:30
MS.Internal.Xml.XPath.XPathSelfQuery.XPathSelfQuery
XPathSelfQuery(XPathSelfQuery other)
Definition
XPathSelfQuery.cs:12
MS.Internal.Xml.XPath.XPathSelfQuery.Advance
override XPathNavigator Advance()
Definition
XPathSelfQuery.cs:17
MS.Internal.Xml.XPath.XPathSelfQuery
Definition
XPathSelfQuery.cs:6
System.Type
Definition
Type.cs:14
System.Xml.XPath.XPathNavigator
Definition
XPathNavigator.cs:15
System.Xml.XPath.XPathNodeIterator
Definition
XPathNodeIterator.cs:8
MS.Internal.Xml.XPath
Definition
AbsoluteQuery.cs:3
System.Xml.XPath.XPathNodeType
XPathNodeType
Definition
XPathNodeType.cs:4
System.Xml.XPath
Definition
Extensions.cs:5
source
System.Private.Xml
MS.Internal.Xml.XPath
XPathSelfQuery.cs
Generated by
1.10.0