using System; namespace Krs.Ats.IBNet { /// /// Exec Details Event Arguments /// [Serializable()] public class ExecDetailsEventArgs : EventArgs { private Contract contract; private Execution execution; private int orderId; private int requestId; /// /// Full Constructor /// /// The request Id for the Execution Details. /// The order Id that was specified previously in the call to placeOrder(). /// This structure contains a full description of the contract that was executed. /// This structure contains addition order execution details. public ExecDetailsEventArgs(int requestId, int orderId, Contract contract, Execution execution) { this.requestId = requestId; this.orderId = orderId; this.execution = execution; this.contract = contract; } /// /// Uninitialized Constructor for Serialization /// public ExecDetailsEventArgs() { } /// /// The order Id that was specified previously in the call to placeOrder(). /// public int OrderId { get { return orderId; } set { orderId = value; } } /// /// Request Id /// public int RequestId { get { return requestId; } set { requestId = value; } } /// /// This structure contains a full description of the contract that was executed. /// /// public Contract Contract { get { return contract; } set { contract = value; } } /// /// This structure contains addition order execution details. /// /// public Execution Execution { get { return execution; } set { execution = value; } } } }