C# Class System.Runtime.Serialization.EnumDataContract.EnumDataContract

Inheritance: System.Runtime.Serialization.DataContract
Mostra file Open project: dotnet/corefx

Private Properties

Property Type Description
EnumDataContract System
ReadEnumValue long
ReadEnumValue object
WriteEnumValue void

Public Methods

Method Description
EnumDataContract ( ) : System
ReadXmlValue ( System.Runtime.Serialization.XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context ) : object
WriteXmlValue ( System.Runtime.Serialization.XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context ) : void

Private Methods

Method Description
EnumDataContract ( Type type ) : System
ReadEnumValue ( string value, int index, int count ) : long
ReadEnumValue ( System.Runtime.Serialization.XmlReaderDelegator reader ) : object
WriteEnumValue ( System.Runtime.Serialization.XmlWriterDelegator writer, object value ) : void

Method Details

EnumDataContract() public method

public EnumDataContract ( ) : System
return System

ReadXmlValue() public method

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

WriteXmlValue() public method

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