C# Class Mueller.Wddx.NumberSerializer

Serializes a number.

Any of the following data types will be serialized as a WDDX number element.

System.Byte System.Int16 System.Int32 System.Int64 System.Single System.Double System.Decimal*

* WDDX does not support the precision of System.Decimal, so this type will be converted to System.Double before serialization.

Inheritance: IWddxObjectSerializer
Show file Open project: Bilal-S/WDDX.net

Public Methods

Method Description
WriteObject ( XmlWriter output, object obj ) : void

Writes the serialized object to the XML stream.

Private Methods

Method Description
NumberSerializer ( ) : System

Method Details

WriteObject() public method

Writes the serialized object to the XML stream.
public WriteObject ( XmlWriter output, object obj ) : void
output System.Xml.XmlWriter A pre-initialized object.
obj object Object to serialize.
return void