public void GetObjectData(object obj, SerializationInfo info, StreamingContext context) { PersistAssist.Serialize(obj, info, context); }
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { PersistAssist.Serialize(this, info, context); }
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); }