Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QilParameter.cs
Go to the documentation of this file.
1
namespace
System.Xml.Xsl.Qil
;
2
3
internal
sealed
class
QilParameter
:
QilIterator
4
{
5
private
QilNode
_name
;
6
7
public
override
int
Count
=> 2;
8
9
public
override
QilNode
this
[
int
index
]
10
{
11
get
12
{
13
return
index
switch
14
{
15
0 =>
base
.Binding,
16
1 =>
_name
,
17
_
=>
throw
new
IndexOutOfRangeException
(),
18
};
19
}
20
set
21
{
22
switch
(
index
)
23
{
24
case
0:
25
base.Binding
=
value
;
26
break
;
27
case
1:
28
_name
=
value
;
29
break
;
30
default
:
31
throw
new
IndexOutOfRangeException
();
32
}
33
}
34
}
35
36
public
QilNode
DefaultValue
37
{
38
get
39
{
40
return
base
.Binding;
41
}
42
set
43
{
44
base.Binding
=
value
;
45
}
46
}
47
48
public
QilName
Name
49
{
50
get
51
{
52
return
(
QilName
)
_name
;
53
}
54
set
55
{
56
_name
=
value
;
57
}
58
}
59
60
public
QilParameter
(
QilNodeType
nodeType
,
QilNode
defaultValue
,
QilNode
name,
XmlQueryType
xmlType
)
61
:
base
(
nodeType
,
defaultValue
)
62
{
63
_name
= name;
64
base.xmlType
=
xmlType
;
65
}
66
}
System.IndexOutOfRangeException
Definition
IndexOutOfRangeException.cs:9
System.Xml.Xsl.Qil.QilIterator
Definition
QilIterator.cs:4
System.Xml.Xsl.Qil.QilName
Definition
QilName.cs:6
System.Xml.Xsl.Qil.QilNode.nodeType
QilNodeType nodeType
Definition
QilNode.cs:8
System.Xml.Xsl.Qil.QilNode.xmlType
XmlQueryType xmlType
Definition
QilNode.cs:10
System.Xml.Xsl.Qil.QilNode
Definition
QilNode.cs:7
System.Xml.Xsl.Qil.QilParameter.QilParameter
QilParameter(QilNodeType nodeType, QilNode defaultValue, QilNode name, XmlQueryType xmlType)
Definition
QilParameter.cs:60
System.Xml.Xsl.Qil.QilParameter.Name
QilName Name
Definition
QilParameter.cs:49
System.Xml.Xsl.Qil.QilParameter.Count
override int Count
Definition
QilParameter.cs:7
System.Xml.Xsl.Qil.QilParameter._name
QilNode _name
Definition
QilParameter.cs:5
System.Xml.Xsl.Qil.QilParameter.DefaultValue
QilNode DefaultValue
Definition
QilParameter.cs:37
System.Xml.Xsl.Qil.QilParameter
Definition
QilParameter.cs:4
System.Xml.Xsl.XmlQueryType
Definition
XmlQueryType.cs:9
System.Xml.Xsl.Qil.QilNodeType
QilNodeType
Definition
QilNodeType.cs:4
System.Xml.Xsl.Qil
Definition
IQilAnnotation.cs:1
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
System.ExceptionArgument.index
@ index
source
System.Private.Xml
System.Xml.Xsl.Qil
QilParameter.cs
Generated by
1.10.0