Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AbsoluteQuery.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
AbsoluteQuery
:
ContextQuery
6
{
7
public
AbsoluteQuery
()
8
{
9
}
10
11
private
AbsoluteQuery
(
AbsoluteQuery
other)
12
: base(other)
13
{
14
}
15
16
public
override
object
Evaluate
(
XPathNodeIterator
context)
17
{
18
contextNode
= context.
Current
.
Clone
();
19
contextNode
.
MoveToRoot
();
20
count
= 0;
21
return
this
;
22
}
23
24
public
override
XPathNavigator
MatchNode
(
XPathNavigator
context)
25
{
26
if
(context !=
null
&& context.
NodeType
==
XPathNodeType
.Root)
27
{
28
return
context;
29
}
30
return
null
;
31
}
32
33
public
override
XPathNodeIterator
Clone
()
34
{
35
return
new
AbsoluteQuery
(
this
);
36
}
37
}
MS.Internal.Xml.XPath.AbsoluteQuery.MatchNode
override XPathNavigator MatchNode(XPathNavigator context)
Definition
AbsoluteQuery.cs:24
MS.Internal.Xml.XPath.AbsoluteQuery.AbsoluteQuery
AbsoluteQuery()
Definition
AbsoluteQuery.cs:7
MS.Internal.Xml.XPath.AbsoluteQuery.Evaluate
override object Evaluate(XPathNodeIterator context)
Definition
AbsoluteQuery.cs:16
MS.Internal.Xml.XPath.AbsoluteQuery.Clone
override XPathNodeIterator Clone()
Definition
AbsoluteQuery.cs:33
MS.Internal.Xml.XPath.AbsoluteQuery.AbsoluteQuery
AbsoluteQuery(AbsoluteQuery other)
Definition
AbsoluteQuery.cs:11
MS.Internal.Xml.XPath.AbsoluteQuery
Definition
AbsoluteQuery.cs:6
MS.Internal.Xml.XPath.ContextQuery.contextNode
XPathNavigator contextNode
Definition
ContextQuery.cs:7
MS.Internal.Xml.XPath.ContextQuery
Definition
ContextQuery.cs:6
System.Xml.XPath.XPathNavigator.NodeType
XPathNodeType NodeType
Definition
XPathNavigator.cs:388
System.Xml.XPath.XPathNavigator.MoveToRoot
virtual void MoveToRoot()
Definition
XPathNavigator.cs:948
System.Xml.XPath.XPathNavigator.Clone
object ICloneable. Clone()
Definition
XPathNavigator.cs:705
System.Xml.XPath.XPathNavigator
Definition
XPathNavigator.cs:15
System.Xml.XPath.XPathNodeIterator.count
int count
Definition
XPathNodeIterator.cs:59
System.Xml.XPath.XPathNodeIterator.Current
XPathNavigator? Current
Definition
XPathNodeIterator.cs:61
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
AbsoluteQuery.cs
Generated by
1.10.0