Wraps the BinaryFormatter in the ISerializationFormatter interface so it can be used in a standardized manner. More...
Public Member Functions | |
object | Deserialize (System.IO.Stream serializationStream) |
Converts a serialization stream into an object graph. More... | |
object | Deserialize (byte[] buffer) |
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... | |
Properties | |
BinaryFormatter | Formatter [get] |
Gets a reference to the underlying BinaryFormatter object. More... | |
Wraps the BinaryFormatter in the ISerializationFormatter interface so it can be used in a standardized manner.
Definition at line 21 of file BinaryFormatterWrapper.cs.
object Csla.Serialization.BinaryFormatterWrapper.Deserialize | ( | byte[] | buffer | ) |
Converts a serialization stream into an object graph.
buffer | Byte stream containing the serialized data. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 45 of file BinaryFormatterWrapper.cs.
object Csla.Serialization.BinaryFormatterWrapper.Deserialize | ( | System.IO.Stream | serializationStream | ) |
Converts a serialization stream into an object graph.
serializationStream | Byte stream containing the serialized data. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 33 of file BinaryFormatterWrapper.cs.
byte[] Csla.Serialization.BinaryFormatterWrapper.Serialize | ( | object | graph | ) |
Converts an object graph into a byte stream.
graph | Object graph to be serialized. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 66 of file BinaryFormatterWrapper.cs.
void Csla.Serialization.BinaryFormatterWrapper.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. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 57 of file BinaryFormatterWrapper.cs.
|
get |
Gets a reference to the underlying BinaryFormatter object.
Definition at line 79 of file BinaryFormatterWrapper.cs.