Source/Csla/Serialization/Mobile/MobileFormatter.cs
/// <summary>
/// Deserialize an object from XML.
/// </summary>
/// <param name="serializationStream">
/// Stream containing the serialized XML
/// data.
/// </param>
/// <returns></returns>
Deserialize an object from XML.
Deserialize an object from XML .
public object Deserialize(Stream serializationStream)
    {
      if (serializationStream == null)
        return null;
      ICslaReader reader = CslaReaderWriterFactory.GetCslaReader();
      var data = reader.Read(serializationStream);
      return DeserializeAsDTO(data);
    }
public object Deserialize ( Stream serializationStream ) { if ( serializationStream == null ) return null ; ICslaReader reader = CslaReaderWriterFactory . GetCslaReader ( ) ; var data = reader . Read ( serializationStream ) ; return DeserializeAsDTO ( data ) ; }
Deserialize an object from XML.
Deserialize an object from XML .
None
serializationStream
Stream
Stream containing the serialized XML
data.
Stream containing the serialized XML data .