C# Class org.phprpc.util.PHPWriter

Exibir arquivo Open project: bluelovers/phprpc Class Usage Examples

Public Methods

Method Description
PHPWriter ( Stream stream, Encoding encoding ) : System
Serialize ( Object graph ) : void

Private Methods

Method Description
GetFullTypeName ( String fullName ) : String
GetSerializableMembers ( Type type ) : System.Reflection.FieldInfo[]
IsSerializable ( Type type ) : System.Boolean
Serialize ( Object graph, Hashtable objectContainer, Int32 &objectID ) : void
WriteArray ( Array array, Hashtable objectContainer, Int32 &objectID ) : void
WriteBinaryString ( Byte value ) : void
WriteBoolean ( System.Boolean value ) : void
WriteCustomObject ( Object graph ) : void
WriteDateTime ( System.DateTime value ) : void
WriteDouble ( Double value ) : void
WriteDouble ( Object graph ) : void
WriteDouble ( System.Single value ) : void
WriteEnum ( Enum value ) : void
WriteIDictionary ( IDictionary dictionary, Hashtable objectContainer, Int32 &objectID ) : void
WriteIList ( IList list, Hashtable objectContainer, Int32 &objectID ) : void
WriteInteger ( Object graph ) : void
WriteNull ( ) : void
WriteNumber ( Object value ) : void
WriteNumber ( String value ) : void
WriteObject ( Object graph, Hashtable objectContainer, Int32 &objectID ) : void
WritePointerReference ( Object value ) : void
WriteReference ( Object value ) : void
WriteString ( String value ) : void

Method Details

PHPWriter() public method

public PHPWriter ( Stream stream, Encoding encoding ) : System
stream Stream
encoding System.Text.Encoding
return System

Serialize() public method

public Serialize ( Object graph ) : void
graph Object
return void