public object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) { PersistAssist.Deserialize(obj, info, context); return(obj); }
/// <summary> /// Initializes a new instance of the <see cref="PersistObject"/> class. /// Deserialization constructor. /// </summary> /// <param name="info"> /// The info. /// </param> /// <param name="context"> /// The context. /// </param> protected PersistObject(SerializationInfo info, StreamingContext context) { PersistAssist.Deserialize(this, info, context); }