Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TypedValue
override
object System.Xml.XPath.XPathNavigator.TypedValue
get
inherited
Definition at line
124
of file
XPathNavigator.cs
.
125
{
126
get
127
{
128
IXmlSchemaInfo
schemaInfo =
SchemaInfo
;
129
if
(schemaInfo !=
null
)
130
{
131
if
(schemaInfo.
Validity
==
XmlSchemaValidity
.Valid)
132
{
133
XmlSchemaType
xmlSchemaType
= schemaInfo.
MemberType
;
134
if
(
xmlSchemaType
==
null
)
135
{
136
xmlSchemaType
= schemaInfo.
SchemaType
;
137
}
138
if
(
xmlSchemaType
!=
null
)
139
{
140
XmlSchemaDatatype
datatype =
xmlSchemaType
.Datatype;
141
if
(datatype !=
null
)
142
{
143
return
xmlSchemaType
.ValueConverter.ChangeType(
Value
, datatype.
ValueType
,
this
);
144
}
145
}
146
}
147
else
148
{
149
XmlSchemaType
xmlSchemaType
= schemaInfo.
SchemaType
;
150
if
(
xmlSchemaType
!=
null
)
151
{
152
XmlSchemaDatatype
datatype =
xmlSchemaType
.Datatype;
153
if
(datatype !=
null
)
154
{
155
return
xmlSchemaType
.ValueConverter.ChangeType(datatype.
ParseValue
(
Value
,
NameTable
,
this
), datatype.
ValueType
,
this
);
156
}
157
}
158
}
159
}
160
return
Value
;
161
}
162
}
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.ValueType
Type ValueType
Definition
XmlSchemaDatatype.cs:9
System.Xml.Schema.XmlSchemaDatatype
Definition
XmlSchemaDatatype.cs:8
System.Xml.Schema.XmlSchemaType
Definition
XmlSchemaType.cs:8
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