ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Defines methods for serializing and deserializing objects and arrays. More...
Public Member Functions | |
T | DeserializeObject< T > (GNHashtable gnHashtable) |
Deserializes a GNHashtable to an object of type T . | |
object | DeserializeObject (GNHashtable gnHashtable, System.Type cls) |
Deserializes a GNHashtable to an object of the specified type. | |
System.Collections.IList | DeserializeArray< T > (GNArray gnArray) |
Deserializes a GNArray to a list of objects of type T . | |
System.Collections.IList | DeserializeArray (GNArray gnArray, System.Type cls) |
Deserializes a GNArray to a list of objects of the specified type. | |
GNHashtable | SerializeObject (object obj) |
Serializes an object to a GNHashtable. | |
GNArray | SerializeArray (System.Collections.IList objLst) |
Serializes a list of objects to a GNArray. | |
Defines methods for serializing and deserializing objects and arrays.
System.Collections.IList XmobiTea.Data.Converter.IDataConverter.DeserializeArray | ( | GNArray | gnArray, |
System.Type | cls ) |
Deserializes a GNArray to a list of objects of the specified type.
gnArray | The GNArray to deserialize. |
cls | The type of objects in the list. |
Implemented in XmobiTea.Data.Converter.DataConverter.
System.Collections.IList XmobiTea.Data.Converter.IDataConverter.DeserializeArray< T > | ( | GNArray | gnArray | ) |
Deserializes a GNArray to a list of objects of type T .
T | The type of objects in the list. |
gnArray | The GNArray to deserialize. |
Implemented in XmobiTea.Data.Converter.DataConverter.
object XmobiTea.Data.Converter.IDataConverter.DeserializeObject | ( | GNHashtable | gnHashtable, |
System.Type | cls ) |
Deserializes a GNHashtable to an object of the specified type.
gnHashtable | The GNHashtable to deserialize. |
cls | The type of object to deserialize. |
Implemented in XmobiTea.Data.Converter.DataConverter.
T XmobiTea.Data.Converter.IDataConverter.DeserializeObject< T > | ( | GNHashtable | gnHashtable | ) |
Deserializes a GNHashtable to an object of type T .
T | The type of object to deserialize. |
gnHashtable | The GNHashtable to deserialize. |
Implemented in XmobiTea.Data.Converter.DataConverter.
GNArray XmobiTea.Data.Converter.IDataConverter.SerializeArray | ( | System.Collections.IList | objLst | ) |
Serializes a list of objects to a GNArray.
objLst | The list of objects to serialize. |
Implemented in XmobiTea.Data.Converter.DataConverter.
GNHashtable XmobiTea.Data.Converter.IDataConverter.SerializeObject | ( | object | obj | ) |
Serializes an object to a GNHashtable.
obj | The object to serialize. |
Implemented in XmobiTea.Data.Converter.DataConverter.