C# Class System.Runtime.Serialization.PrimitiveDataContract.CharDataContract.BooleanDataContract.SignedByteDataContract.UnsignedByteDataContract.ShortDataContract.UnsignedShortDataContract.IntDataContract.UnsignedIntDataContract.LongDataContract.UnsignedLongDataContract.FloatDataContract.DoubleDataContract.DecimalDataContract.DateTimeDataContract.StringDataContract.StringDataContract

Inheritance: System.Runtime.Serialization.PrimitiveDataContract
显示文件 Open project: dotnet/corefx

Private Properties

Property Type Description
StringDataContract System

Public Methods

Method Description
ReadXmlValue ( System.Runtime.Serialization.XmlReaderDelegator reader, XmlObjectSerializerReadContext context ) : object
StringDataContract ( ) : System
WriteXmlElement ( System.Runtime.Serialization.XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, XmlDictionaryString name, XmlDictionaryString ns ) : void
WriteXmlValue ( System.Runtime.Serialization.XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context ) : void

Private Methods

Method Description
StringDataContract ( XmlDictionaryString name, XmlDictionaryString ns ) : System

Method Details

ReadXmlValue() public method

public ReadXmlValue ( System.Runtime.Serialization.XmlReaderDelegator reader, XmlObjectSerializerReadContext context ) : object
reader System.Runtime.Serialization.XmlReaderDelegator
context XmlObjectSerializerReadContext
return object

StringDataContract() public method

public StringDataContract ( ) : System
return System

WriteXmlElement() public method

public WriteXmlElement ( System.Runtime.Serialization.XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, XmlDictionaryString name, XmlDictionaryString ns ) : void
xmlWriter System.Runtime.Serialization.XmlWriterDelegator
obj object
context XmlObjectSerializerWriteContext
name System.Xml.XmlDictionaryString
ns System.Xml.XmlDictionaryString
return void

WriteXmlValue() public method

public WriteXmlValue ( System.Runtime.Serialization.XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context ) : void
writer System.Runtime.Serialization.XmlWriterDelegator
obj object
context XmlObjectSerializerWriteContext
return void