Serializes and deserializes objects at the field level. More...
Public Member Functions | |
| void | Serialize (Stream serializationStream, object graph) |
| Serialize an object graph into XML. More... | |
| List< SerializationInfo > | SerializeAsDTO (object graph) |
| Serialize an object graph into DTO. More... | |
| SerializationInfo | SerializeObject (object obj) |
| Serializes an object into a SerializationInfo object. More... | |
| object | Deserialize (Stream serializationStream) |
| Deserialize an object from XML. More... | |
| object | DeserializeAsDTO (List< SerializationInfo > deserialized) |
| Deserialize an object from DTO graph. More... | |
| IMobileObject | GetObject (int referenceId) |
| Gets a deserialized object based on the object's reference id within the serialization stream. More... | |
Public Member Functions inherited from Csla.Serialization.ISerializationFormatter | |
| object | Deserialize (System.IO.Stream serializationStream) |
| Converts a serialization stream into an object graph. More... | |
| void | Serialize (System.IO.Stream serializationStream, object graph) |
| Converts an object graph into a byte stream. More... | |
Static Public Member Functions | |
| static byte[] | Serialize (object obj) |
| Serializes the object into a byte array. More... | |
| static List< SerializationInfo > | SerializeToDTO (object obj) |
| Serializes the object into a DTO. More... | |
| static object | DeserializeFromDTO (List< SerializationInfo > serialized) |
| Serializes an object from a DTO graph More... | |
| static object | Deserialize (byte[] data) |
| Deserializes a byte stream into an object. More... | |
| static object | Deserialize (List< SerializationInfo > data) |
| Deserializes a byte stream into an object. More... | |
Serializes and deserializes objects at the field level.
Definition at line 25 of file MobileFormatter.cs.
|
static |
Deserializes a byte stream into an object.
| data | Byte array containing the object's serialized data. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 395 of file MobileFormatter.cs.
|
static |
Deserializes a byte stream into an object.
| data | DTO containing the object's serialized data. |
Definition at line 419 of file MobileFormatter.cs.
| object Csla.Serialization.Mobile.MobileFormatter.Deserialize | ( | Stream | serializationStream | ) |
Deserialize an object from XML.
| serializationStream | Stream containing the serialized XML data. |
Definition at line 212 of file MobileFormatter.cs.
| object Csla.Serialization.Mobile.MobileFormatter.DeserializeAsDTO | ( | List< SerializationInfo > | deserialized | ) |
Deserialize an object from DTO graph.
param name="deserialized">DTO group to deserialize
Definition at line 245 of file MobileFormatter.cs.
|
static |
Serializes an object from a DTO graph
| serialized | DTO Graph to deserialize |
Definition at line 377 of file MobileFormatter.cs.
| IMobileObject Csla.Serialization.Mobile.MobileFormatter.GetObject | ( | int | referenceId | ) |
Gets a deserialized object based on the object's reference id within the serialization stream.
| referenceId | Id of object in stream. |
Definition at line 331 of file MobileFormatter.cs.
|
static |
Serializes the object into a byte array.
| obj | The object to be serialized, which must implement IMobileObject. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 348 of file MobileFormatter.cs.
| void Csla.Serialization.Mobile.MobileFormatter.Serialize | ( | Stream | serializationStream, |
| object | graph | ||
| ) |
Serialize an object graph into XML.
| serializationStream | Stream to which the serialized data will be written. |
| graph | Root object of the object graph to serialize. |
Definition at line 40 of file MobileFormatter.cs.
| List< SerializationInfo > Csla.Serialization.Mobile.MobileFormatter.SerializeAsDTO | ( | object | graph | ) |
Serialize an object graph into DTO.
| graph | Root object of the object graph to serialize. |
Definition at line 65 of file MobileFormatter.cs.
| SerializationInfo Csla.Serialization.Mobile.MobileFormatter.SerializeObject | ( | object | obj | ) |
Serializes an object into a SerializationInfo object.
| obj | Object to be serialized. |
Definition at line 117 of file MobileFormatter.cs.
|
static |
Serializes the object into a DTO.
| obj | The object to be serialized, which must implement IMobileObject. |
Definition at line 366 of file MobileFormatter.cs.