C# Class Mueller.Wddx.NumberDeserializer

Deserializes a number element.

If the contents of the "number" element contain a decimal point, the value returned will be a System.Single if that data type can hold the number, otherwise it will be a System.Double.

If the contents of the "number" element do not contain a decimal point, the value returned will be a System.Int32 if that data type can hold the number, otherwise it will be a System.Int64.

This class is a Singleton class - only one instance of it will ever exist in a given AppDomain.

Inheritance: IWddxElementDeserializer
Datei anzeigen Open project: Bilal-S/WDDX.net

Public Methods

Method Description
ParseElement ( XmlReader input ) : object

Parses the WDDX element and returns the deserialized content as a numeric object (see class reference), advancing the reader to the next element.

Private Methods

Method Description
NumberDeserializer ( ) : System

Method Details

ParseElement() public method

Parses the WDDX element and returns the deserialized content as a numeric object (see class reference), advancing the reader to the next element.
public ParseElement ( XmlReader input ) : object
input System.Xml.XmlReader The pre-initialized pointing to the WDDX to be parsed.
return object