using System; namespace Krs.Ats.IBNet { /// /// Next Valid Id Event Arguments /// [Serializable()] public class NextValidIdEventArgs : EventArgs { private int orderId; /// /// Full Constructor /// /// The next available order Id received from TWS upon connection. /// Increment all successive orders by one based on this Id. public NextValidIdEventArgs(int orderId) { this.orderId = orderId; } /// /// Uninitialized Constructor for Serialization /// public NextValidIdEventArgs() { } /// /// The next available order Id received from TWS upon connection. /// Increment all successive orders by one based on this Id. /// public int OrderId { get { return orderId; } set { orderId = value; } } } }