C# Class Mueller.Wddx.WddxSerializer

This class is the main entry point for serializing any object into WDDX.
Exibir arquivo Open project: Bilal-S/WDDX.net

Public Methods

Method Description
Serialize ( object obj ) : string

Serializes an object to a string.

Serialize ( XmlWriter output, object obj ) : void

Serializes an object to a pre-existing XmlWriter object.

The XmlWriter should be pre-initialized, and can be pointed at many things: a string, a file, a network stream, the ASP.NET Response stream, etc.

Private Methods

Method Description
WritePacketFooter ( XmlWriter output ) : void
WritePacketHeader ( XmlWriter output ) : void

Method Details

Serialize() public method

Serializes an object to a string.
public Serialize ( object obj ) : string
obj object The object to be serialized.
return string

Serialize() public method

Serializes an object to a pre-existing XmlWriter object.
The XmlWriter should be pre-initialized, and can be pointed at many things: a string, a file, a network stream, the ASP.NET Response stream, etc.
public Serialize ( XmlWriter output, object obj ) : void
output System.Xml.XmlWriter A pre-initialized object.
obj object The object to be serialized.
return void