Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ValueAsLong
override
long System.Xml.XPath.XPathNavigator.ValueAsLong
get
inherited
Definition at line
348
of file
XPathNavigator.cs
.
349
{
350
get
351
{
352
IXmlSchemaInfo
schemaInfo =
SchemaInfo
;
353
if
(schemaInfo !=
null
)
354
{
355
if
(schemaInfo.
Validity
==
XmlSchemaValidity
.Valid)
356
{
357
XmlSchemaType
xmlSchemaType
= schemaInfo.
MemberType
;
358
if
(
xmlSchemaType
==
null
)
359
{
360
xmlSchemaType
= schemaInfo.
SchemaType
;
361
}
362
if
(
xmlSchemaType
!=
null
)
363
{
364
return
xmlSchemaType
.ValueConverter.ToInt64(
Value
);
365
}
366
}
367
else
368
{
369
XmlSchemaType
xmlSchemaType
= schemaInfo.
SchemaType
;
370
if
(
xmlSchemaType
!=
null
)
371
{
372
XmlSchemaDatatype
datatype =
xmlSchemaType
.Datatype;
373
if
(datatype !=
null
)
374
{
375
return
xmlSchemaType
.ValueConverter.ToInt64(datatype.
ParseValue
(
Value
,
NameTable
,
this
));
376
}
377
}
378
}
379
}
380
return
XmlUntypedConverter
.
Untyped
.ToInt64(
Value
);
381
}
382
}
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