Wraps the NetDataContractSerializer 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 | |
NetDataContractSerializer | Formatter [get] |
Gets a reference to the underlying NetDataContractSerializer object. More... | |
Wraps the NetDataContractSerializer in the ISerializationFormatter interface so it can be used in a standardized manner.
Definition at line 19 of file NetDataContractSerializerWrapper.cs.
object Csla.Serialization.NetDataContractSerializerWrapper.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 43 of file NetDataContractSerializerWrapper.cs.
object Csla.Serialization.NetDataContractSerializerWrapper.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 31 of file NetDataContractSerializerWrapper.cs.
byte[] Csla.Serialization.NetDataContractSerializerWrapper.Serialize | ( | object | graph | ) |
Converts an object graph into a byte stream.
graph | Object graph to be serialized. |
Implements Csla.Serialization.ISerializationFormatter.
Definition at line 64 of file NetDataContractSerializerWrapper.cs.
void Csla.Serialization.NetDataContractSerializerWrapper.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 55 of file NetDataContractSerializerWrapper.cs.
|
get |
Gets a reference to the underlying NetDataContractSerializer object.
Definition at line 77 of file NetDataContractSerializerWrapper.cs.