Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QilLiteral.cs
Go to the documentation of this file.
1
namespace
System.Xml.Xsl.Qil
;
2
3
internal
class
QilLiteral
:
QilNode
4
{
5
private
object
_value
;
6
7
public
object
Value
8
{
9
get
10
{
11
return
_value
;
12
}
13
set
14
{
15
_value
=
value
;
16
}
17
}
18
19
public
QilLiteral
(
QilNodeType
nodeType
,
object
value
)
20
:
base
(
nodeType
)
21
{
22
Value
=
value
;
23
}
24
25
public
static
implicit
operator
string
(
QilLiteral
literal
)
26
{
27
return
(
string
)
literal
._value;
28
}
29
30
public
static
implicit
operator
int(
QilLiteral
literal
)
31
{
32
return
(
int
)
literal
._value;
33
}
34
35
public
static
implicit
operator
long(
QilLiteral
literal
)
36
{
37
return
(
long
)
literal
._value;
38
}
39
40
public
static
implicit
operator
double(
QilLiteral
literal
)
41
{
42
return
(
double
)
literal
._value;
43
}
44
45
public
static
implicit
operator
decimal(
QilLiteral
literal
)
46
{
47
return
(decimal)
literal
._value;
48
}
49
50
public
static
implicit
operator
XmlQueryType
(
QilLiteral
literal
)
51
{
52
return
(
XmlQueryType
)
literal
._value;
53
}
54
}
System.Xml.Xsl.Qil.QilLiteral.Value
object Value
Definition
QilLiteral.cs:8
System.Xml.Xsl.Qil.QilLiteral._value
object _value
Definition
QilLiteral.cs:5
System.Xml.Xsl.Qil.QilLiteral.QilLiteral
QilLiteral(QilNodeType nodeType, object value)
Definition
QilLiteral.cs:19
System.Xml.Xsl.Qil.QilLiteral
Definition
QilLiteral.cs:4
System.Xml.Xsl.Qil.QilNode.nodeType
QilNodeType nodeType
Definition
QilNode.cs:8
System.Xml.Xsl.Qil.QilNode
Definition
QilNode.cs:7
System.Xml.Xsl.XmlQueryType
Definition
XmlQueryType.cs:9
string
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
source
System.Private.Xml
System.Xml.Xsl.Qil
QilLiteral.cs
Generated by
1.10.0