Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
EXslObjectType()
static
string
System.Xml.Xsl.Runtime.XsltFunctions.EXslObjectType
(
IList
<
XPathItem
>
value
)
inline
static
Definition at line
248
of file
XsltFunctions.cs
.
249
{
250
if
(
value
.Count != 1)
251
{
252
return
"node-set"
;
253
}
254
XPathItem
xPathItem
=
value
[0];
255
if
(
xPathItem
is
RtfNavigator)
256
{
257
return
"RTF"
;
258
}
259
if
(
xPathItem
.IsNode)
260
{
261
return
"node-set"
;
262
}
263
object
typedValue =
xPathItem
.TypedValue;
264
if
(typedValue
is
string
)
265
{
266
return
"string"
;
267
}
268
if
(typedValue
is
double
)
269
{
270
return
"number"
;
271
}
272
if
(typedValue
is
bool
)
273
{
274
return
"boolean"
;
275
}
276
return
"external"
;
277
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Xml.XPath.XPathItem
Definition
XPathItem.cs:6
System.ExceptionArgument.value
@ value
References
System.value
.
System
Xml
Xsl
Runtime
XsltFunctions
Generated by
1.10.0