Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DocumentXPathNodeIterator_ElemChildren.cs
Go to the documentation of this file.
1
using
System.Xml.XPath
;
2
3
namespace
System.Xml
;
4
5
internal
class
DocumentXPathNodeIterator_ElemChildren
:
DocumentXPathNodeIterator_ElemDescendants
6
{
7
protected
string
localNameAtom
;
8
9
protected
string
nsAtom
;
10
11
internal
DocumentXPathNodeIterator_ElemChildren
(
DocumentXPathNavigator
nav,
string
localNameAtom
,
string
nsAtom
)
12
:
base
(nav)
13
{
14
this.localNameAtom
=
localNameAtom
;
15
this.nsAtom
=
nsAtom
;
16
}
17
18
internal
DocumentXPathNodeIterator_ElemChildren
(
DocumentXPathNodeIterator_ElemChildren
other
)
19
:
base
(
other
)
20
{
21
localNameAtom
=
other
.localNameAtom;
22
nsAtom
=
other
.nsAtom;
23
}
24
25
public
override
XPathNodeIterator
Clone
()
26
{
27
return
new
DocumentXPathNodeIterator_ElemChildren
(
this
);
28
}
29
30
protected
override
bool
Match
(
XmlNode
node
)
31
{
32
if
(
Ref
.
Equal
(
node
.LocalName,
localNameAtom
))
33
{
34
return
Ref
.
Equal
(
node
.NamespaceURI,
nsAtom
);
35
}
36
return
false
;
37
}
38
}
System.Xml.DocumentXPathNavigator
Definition
DocumentXPathNavigator.cs:10
System.Xml.DocumentXPathNodeIterator_ElemChildren.nsAtom
string nsAtom
Definition
DocumentXPathNodeIterator_ElemChildren.cs:9
System.Xml.DocumentXPathNodeIterator_ElemChildren.Clone
override XPathNodeIterator Clone()
Definition
DocumentXPathNodeIterator_ElemChildren.cs:25
System.Xml.DocumentXPathNodeIterator_ElemChildren.DocumentXPathNodeIterator_ElemChildren
DocumentXPathNodeIterator_ElemChildren(DocumentXPathNodeIterator_ElemChildren other)
Definition
DocumentXPathNodeIterator_ElemChildren.cs:18
System.Xml.DocumentXPathNodeIterator_ElemChildren.Match
override bool Match(XmlNode node)
Definition
DocumentXPathNodeIterator_ElemChildren.cs:30
System.Xml.DocumentXPathNodeIterator_ElemChildren.localNameAtom
string localNameAtom
Definition
DocumentXPathNodeIterator_ElemChildren.cs:7
System.Xml.DocumentXPathNodeIterator_ElemChildren.DocumentXPathNodeIterator_ElemChildren
DocumentXPathNodeIterator_ElemChildren(DocumentXPathNavigator nav, string localNameAtom, string nsAtom)
Definition
DocumentXPathNodeIterator_ElemChildren.cs:11
System.Xml.DocumentXPathNodeIterator_ElemChildren
Definition
DocumentXPathNodeIterator_ElemChildren.cs:6
System.Xml.DocumentXPathNodeIterator_ElemDescendants
Definition
DocumentXPathNodeIterator_ElemDescendants.cs:6
System.Xml.Ref.Equal
static bool Equal(string strA, string strB)
Definition
Ref.cs:5
System.Xml.Ref
Definition
Ref.cs:4
System.Xml.XPath.XPathNodeIterator
Definition
XPathNodeIterator.cs:8
System.Xml.XmlNode
Definition
XmlNode.cs:13
System.Xml.XPath
Definition
Extensions.cs:5
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.Xml
Definition
BaseRegionIterator.cs:1
System.ExceptionArgument.other
@ other
source
System.Private.Xml
System.Xml
DocumentXPathNodeIterator_ElemChildren.cs
Generated by
1.10.0