Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QilParameter.cs
Go to the documentation of this file.
1namespace System.Xml.Xsl.Qil;
2
3internal 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:
26 break;
27 case 1:
28 _name = value;
29 break;
30 default:
31 throw new IndexOutOfRangeException();
32 }
33 }
34 }
35
37 {
38 get
39 {
40 return base.Binding;
41 }
42 set
43 {
45 }
46 }
47
49 {
50 get
51 {
52 return (QilName)_name;
53 }
54 set
55 {
56 _name = value;
57 }
58 }
59
66}
QilParameter(QilNodeType nodeType, QilNode defaultValue, QilNode name, XmlQueryType xmlType)