Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EmptyQuery.cs
Go to the documentation of this file.
2
4
5internal sealed class EmptyQuery : Query
6{
7 public override int CurrentPosition => 0;
8
9 public override int Count => 0;
10
11 public override QueryProps Properties => (QueryProps)23;
12
13 public override XPathResultType StaticType => XPathResultType.NodeSet;
14
15 public override XPathNavigator Current => null;
16
17 public override XPathNavigator Advance()
18 {
19 return null;
20 }
21
22 public override XPathNodeIterator Clone()
23 {
24 return this;
25 }
26
27 public override object Evaluate(XPathNodeIterator context)
28 {
29 return this;
30 }
31
32 public override void Reset()
33 {
34 }
35}
override XPathNavigator Current
Definition EmptyQuery.cs:15
override XPathNodeIterator Clone()
Definition EmptyQuery.cs:22
override XPathNavigator Advance()
Definition EmptyQuery.cs:17
override QueryProps Properties
Definition EmptyQuery.cs:11
override XPathResultType StaticType
Definition EmptyQuery.cs:13
override object Evaluate(XPathNodeIterator context)
Definition EmptyQuery.cs:27