Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
NavigatorInput.cs
Go to the documentation of this file.
3
5
6internal sealed class NavigatorInput
7{
9
11
12 private readonly InputScopeManager _Manager;
13
15
16 private readonly string _Href;
17
18 private readonly KeywordsTable _Atoms;
19
21 {
22 get
23 {
24 return _Next;
25 }
26 set
27 {
28 _Next = value;
29 }
30 }
31
32 internal string Href => _Href;
33
35
37
39
41
43
45
46 internal string Name => _Navigator.Name;
47
48 internal string LocalName => _Navigator.LocalName;
49
51
52 internal string Prefix => _Navigator.Prefix;
53
54 internal string Value => _Navigator.Value;
55
57
58 internal string BaseURI => _Navigator.BaseURI;
59
60 internal bool Advance()
61 {
62 return _Navigator.MoveToNext();
63 }
64
65 internal bool Recurse()
66 {
68 }
69
70 internal bool ToParent()
71 {
72 return _Navigator.MoveToParent();
73 }
74
75 internal void Close()
76 {
77 _Navigator = null;
78 _PositionInfo = null;
79 }
80
81 internal bool MoveToFirstAttribute()
82 {
84 }
85
86 internal bool MoveToNextAttribute()
87 {
89 }
90
91 internal bool MoveToFirstNamespace()
92 {
94 }
95
96 internal bool MoveToNextNamespace()
97 {
99 }
100
102 {
103 if (navigator == null)
104 {
105 throw new ArgumentNullException("navigator");
106 }
107 if (baseUri == null)
108 {
109 throw new ArgumentNullException("baseUri");
110 }
111 _Next = null;
112 _Href = baseUri;
113 _Atoms = new KeywordsTable(navigator.NameTable);
117 if (NodeType == XPathNodeType.Root)
118 {
120 }
121 }
122
127}
static PositionInfo GetPositionInfo(object o)
bool MoveToFirstNamespace(XPathNamespaceScope namespaceScope)
bool MoveToNextNamespace(XPathNamespaceScope namespaceScope)
readonly InputScopeManager _Manager
NavigatorInput(XPathNavigator navigator, string baseUri, InputScope rootScope)
NavigatorInput(XPathNavigator navigator)