55 references to ValueConverter
System.Xml (55)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3723
return xsst.
ValueConverter
;
System\Xml\Core\XsdValidatingReader.cs (22)
390
return xmlType.
ValueConverter
.ToBoolean(typedValue);
415
return xmlType.
ValueConverter
.ToDateTime(typedValue);
440
return xmlType.
ValueConverter
.ToDouble(typedValue);
465
return xmlType.
ValueConverter
.ToSingle(typedValue);
490
return xmlType.
ValueConverter
.ToDecimal(typedValue);
515
return xmlType.
ValueConverter
.ToInt32(typedValue);
540
return xmlType.
ValueConverter
.ToInt64(typedValue);
565
return xmlType.
ValueConverter
.ToString(typedValue);
598
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType);
635
return xmlType.
ValueConverter
.ToBoolean(typedValue);
662
return xmlType.
ValueConverter
.ToDateTime(typedValue);
689
return xmlType.
ValueConverter
.ToDouble(typedValue);
716
return xmlType.
ValueConverter
.ToSingle(typedValue);
743
return xmlType.
ValueConverter
.ToDecimal(typedValue);
770
return xmlType.
ValueConverter
.ToInt32(typedValue);
797
return xmlType.
ValueConverter
.ToInt64(typedValue);
824
return xmlType.
ValueConverter
.ToString(typedValue);
857
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType, namespaceResolver);
1671
cachingReader.RecordTextNode( xmlSchemaInfo.XmlType.
ValueConverter
.ToString( atomicValue ), originalAtomicValueString, depth + 1, 0, 0 );
2062
cachingReader.SwitchTextNodeAndEndElement(xmlSchemaInfo.XmlType.
ValueConverter
.ToString(atomicValue), originalAtomicValueString);
2104
cachingReader.SwitchTextNodeAndEndElement(xmlSchemaInfo.XmlType.
ValueConverter
.ToString(atomicValue), originalAtomicValueString);
2138
typedValue = xmlType.
ValueConverter
.ChangeType(typedValue, xmlType.Datatype.ValueType, thisNSResolver);
System\Xml\Core\XsdValidatingReaderAsync.cs (5)
44
return xmlType.
ValueConverter
.ToString(typedValue);
80
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType);
121
return xmlType.
ValueConverter
.ToString(typedValue);
158
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType, namespaceResolver);
518
cachingReader.RecordTextNode( xmlSchemaInfo.XmlType.
ValueConverter
.ToString( atomicValue ), originalAtomicValueString, depth + 1, 0, 0 );
System\Xml\Schema\DataTypeImplementation.cs (1)
863
return XmlListConverter.Create(listItemType.
ValueConverter
);
System\Xml\Schema\XmlAtomicValue.cs (8)
181
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
199
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
218
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
238
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
257
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
276
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
294
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
315
XmlValueConverter valueConverter = this.xmlType.
ValueConverter
;
System\Xml\Schema\XmlSchemaValidator.cs (1)
934
attrData.RawValue = attSchemaInfo.XmlType.
ValueConverter
.ToString(attrValidInfo.typedAttributeValue);
System\Xml\Schema\XmlValueConverter.cs (2)
3322
this.converters[i] = memberTypes[i].
ValueConverter
;
3362
return simpleValue.XmlType.
ValueConverter
.ChangeType((string) value, destinationType, nsResolver);
System\Xml\XPath\XPathNavigator.cs (15)
83
return schemaType.
ValueConverter
.ChangeType(Value, datatype.ValueType, this);
92
return schemaType.
ValueConverter
.ChangeType(datatype.ParseValue(Value, NameTable, this), datatype.ValueType, this);
117
value = schemaType.
ValueConverter
.ToString(typedValue, this);
174
return schemaType.
ValueConverter
.ToBoolean(Value);
182
return schemaType.
ValueConverter
.ToBoolean(datatype.ParseValue(Value, NameTable, this));
203
return schemaType.
ValueConverter
.ToDateTime(Value);
211
return schemaType.
ValueConverter
.ToDateTime(datatype.ParseValue(Value, NameTable, this));
232
return schemaType.
ValueConverter
.ToDouble(Value);
240
return schemaType.
ValueConverter
.ToDouble(datatype.ParseValue(Value, NameTable, this));
261
return schemaType.
ValueConverter
.ToInt32(Value);
269
return schemaType.
ValueConverter
.ToInt32(datatype.ParseValue(Value, NameTable, this));
290
return schemaType.
ValueConverter
.ToInt64(Value);
298
return schemaType.
ValueConverter
.ToInt64(datatype.ParseValue(Value, NameTable, this));
321
return schemaType.
ValueConverter
.ChangeType(Value, returnType, nsResolver);
329
return schemaType.
ValueConverter
.ChangeType(datatype.ParseValue(Value, NameTable, nsResolver), returnType, nsResolver);