Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ValueAsDouble
override
double System.Xml.XPath.XPathNavigator.ValueAsDouble
get
inherited
Definition at line
276
of file
XPathNavigator.cs
.
277
{
278
get
279
{
280
IXmlSchemaInfo
schemaInfo =
SchemaInfo
;
281
if
(schemaInfo !=
null
)
282
{
283
if
(schemaInfo.
Validity
==
XmlSchemaValidity
.Valid)
284
{
285
XmlSchemaType
xmlSchemaType
= schemaInfo.
MemberType
;
286
if
(
xmlSchemaType
==
null
)
287
{
288
xmlSchemaType
= schemaInfo.
SchemaType
;
289
}
290
if
(
xmlSchemaType
!=
null
)
291
{
292
return
xmlSchemaType
.ValueConverter.ToDouble(
Value
);
293
}
294
}
295
else
296
{
297
XmlSchemaType
xmlSchemaType
= schemaInfo.
SchemaType
;
298
if
(
xmlSchemaType
!=
null
)
299
{
300
XmlSchemaDatatype
datatype =
xmlSchemaType
.Datatype;
301
if
(datatype !=
null
)
302
{
303
return
xmlSchemaType
.ValueConverter.ToDouble(datatype.
ParseValue
(
Value
,
NameTable
,
this
));
304
}
305
}
306
}
307
}
308
return
XmlUntypedConverter
.
Untyped
.ToDouble(
Value
);
309
}
310
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Xml.Schema.XmlSchemaDatatype.ParseValue
object ParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr)
System.Xml.Schema.XmlSchemaDatatype
Definition
XmlSchemaDatatype.cs:8
System.Xml.Schema.XmlSchemaType
Definition
XmlSchemaType.cs:8
System.Xml.Schema.XmlUntypedConverter.Untyped
static readonly XmlValueConverter Untyped
Definition
XmlUntypedConverter.cs:7
System.Xml.Schema.XmlUntypedConverter
Definition
XmlUntypedConverter.cs:4
System.Xml.XPath.XPathItem.Value
string Value
Definition
XPathItem.cs:11
System.Xml.XPath.XPathNavigator.NameTable
XmlNameTable NameTable
Definition
XPathNavigator.cs:384
System.Xml.XPath.XPathNavigator.SchemaInfo
virtual ? IXmlSchemaInfo SchemaInfo
Definition
XPathNavigator.cs:447
System.Xml.Schema.IXmlSchemaInfo.SchemaType
XmlSchemaType? SchemaType
Definition
IXmlSchemaInfo.cs:13
System.Xml.Schema.IXmlSchemaInfo.MemberType
XmlSchemaSimpleType? MemberType
Definition
IXmlSchemaInfo.cs:11
System.Xml.Schema.IXmlSchemaInfo.Validity
XmlSchemaValidity Validity
Definition
IXmlSchemaInfo.cs:5
System.Xml.Schema.IXmlSchemaInfo
Definition
IXmlSchemaInfo.cs:4
System.Xml.Schema.XmlSchemaValidity
XmlSchemaValidity
Definition
XmlSchemaValidity.cs:4
System
Xml
Xsl
Runtime
RtfTreeNavigator
Generated by
1.10.0