Defines an object that can serialize and deserialize object graphs. More...
Public Member Functions | |
object | Deserialize (System.IO.Stream serializationStream) |
Converts a serialization stream into an object graph. More... | |
object | Deserialize (byte[] 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... | |
byte[] | Serialize (object graph) |
Converts an object graph into a byte stream. More... | |
Defines an object that can serialize and deserialize object graphs.
Definition at line 16 of file ISerializationFormatter.cs.
object Csla.Serialization.ISerializationFormatter.Deserialize | ( | byte[] | serializationStream | ) |
Converts a serialization stream into an object graph.
serializationStream | Byte stream containing the serialized data. |
Implemented in Csla.Serialization.BinaryFormatterWrapper, Csla.Serialization.NetDataContractSerializerWrapper, and Csla.Serialization.Mobile.MobileFormatter.
object Csla.Serialization.ISerializationFormatter.Deserialize | ( | System.IO.Stream | serializationStream | ) |
Converts a serialization stream into an object graph.
serializationStream | Byte stream containing the serialized data. |
Implemented in Csla.Serialization.BinaryFormatterWrapper, and Csla.Serialization.NetDataContractSerializerWrapper.
byte[] Csla.Serialization.ISerializationFormatter.Serialize | ( | object | graph | ) |
Converts an object graph into a byte stream.
graph | Object graph to be serialized. |
Implemented in Csla.Serialization.BinaryFormatterWrapper, Csla.Serialization.NetDataContractSerializerWrapper, and Csla.Serialization.Mobile.MobileFormatter.
void Csla.Serialization.ISerializationFormatter.Serialize | ( | System.IO.Stream | serializationStream, |
object | graph | ||
) |
Converts an object graph into a byte stream.
serializationStream | Stream that will contain the the serialized data. |
graph | Object graph to be serialized. |
Implemented in Csla.Serialization.BinaryFormatterWrapper, and Csla.Serialization.NetDataContractSerializerWrapper.