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