Source/Csla/Serialization/Mobile/MobileFormatter.cs
/// <summary>
/// Serializes the object into a DTO.
/// </summary>
/// <param name="obj">
/// The object to be serialized, which must implement
/// IMobileObject.
/// </param>
/// <returns></returns>
Serializes the object into a DTO.
Serializes the object into a DTO .
public static List<SerializationInfo> SerializeToDTO(object obj)
    {
      var formatter = new MobileFormatter();
      return formatter.SerializeAsDTO(obj);
    }
public static List < SerializationInfo > SerializeToDTO ( object obj ) { var formatter = new MobileFormatter ( ) ; return formatter . SerializeAsDTO ( obj ) ; }
Serializes the object into a DTO.
Serializes the object into a DTO .
None
obj
object
The object to be serialized, which must implement
IMobileObject.
The object to be serialized which must implement IMobileObject .