C# Class Medusa.Siren.Serializer

Exibir arquivo Open project: fjz13/Medusa Class Usage Examples

Public Methods

Method Description
Serialize ( object obj ) : ArraySegment
SerializeBase ( object obj, SirenCustomClass sirenClass ) : void
SerializeEnum ( object obj, SirenCustomEnum sirenEnum ) : void
SerializeHelper ( object obj, SirenType sirenType ) : void
SerializeStruct ( object obj, SirenCustomClass sirenClass ) : void
Serializer ( BaseProtocolWriter writer ) : System

Method Details

Serialize() public static method

public static Serialize ( object obj ) : ArraySegment
obj object
return ArraySegment

SerializeBase() public method

public SerializeBase ( object obj, SirenCustomClass sirenClass ) : void
obj object
sirenClass Medusa.Siren.Schema.SirenCustomClass
return void

SerializeEnum() public method

public SerializeEnum ( object obj, SirenCustomEnum sirenEnum ) : void
obj object
sirenEnum Medusa.Siren.Schema.SirenCustomEnum
return void

SerializeHelper() public method

public SerializeHelper ( object obj, SirenType sirenType ) : void
obj object
sirenType Medusa.Siren.Schema.SirenType
return void

SerializeStruct() public method

public SerializeStruct ( object obj, SirenCustomClass sirenClass ) : void
obj object
sirenClass Medusa.Siren.Schema.SirenCustomClass
return void

Serializer() public method

public Serializer ( BaseProtocolWriter writer ) : System
writer BaseProtocolWriter
return System