Example #1
0
 /// <summary>
 /// Exports the given object to a serialization object.
 /// </summary>
 /// <returns></returns>
 public override SerializableOrderBase Export()
 {
     var serial = new SerializableBuyOrder();
     serial.Escrow = Escrow;
     serial.Range = m_range;
     Export(serial);
     return serial;
 }
Example #2
0
 /// <summary>
 /// Constructor from an object deserialized from the settings file.
 /// </summary>
 /// <param name="src"></param>
 internal BuyOrder(SerializableBuyOrder src)
     : base(src)
 {
     Escrow = src.Escrow;
     m_range = src.Range;
 }