Source/Csla/Serialization/Mobile/MobileFormatter.cs
/// <summary>
/// Serialize an object graph into XML.
/// </summary>
/// <param name="serializationStream">
/// Stream to which the serialized data
/// will be written.
/// </param>
/// <param name="graph">
/// Root object of the object graph
/// to serialize.
/// </param>
Serialize an object graph into XML.
Serialize an object graph into XML .
public void Serialize(Stream serializationStream, object graph)
    {
      ICslaWriter writer = CslaReaderWriterFactory.GetCslaWriter();
      writer.Write(serializationStream, SerializeToDTO(graph));
    }
public void Serialize ( Stream serializationStream , object graph ) { ICslaWriter writer = CslaReaderWriterFactory . GetCslaWriter ( ) ; writer . Write ( serializationStream , SerializeToDTO ( graph ) ) ; }
Serialize an object graph into XML.
Serialize an object graph into XML .
serializationStream
Stream
Stream to which the serialized data
will be written.
Stream to which the serialized data will be written .
graph
object
Root object of the object graph
to serialize.
Root object of the object graph to serialize .