Exemple #1
0
        public ITwsOrderComboLeg Add()
        {
            var rval = new OrderComboLeg();

            Ocl.Add(rval);
            return(rval);
        }
Exemple #2
0
        public override bool Equals(Object other)
        {
            if (this == other)
            {
                return(true);
            }
            else if (other == null)
            {
                return(false);
            }

            OrderComboLeg theOther = (OrderComboLeg)other;

            if (price != theOther.Price)
            {
                return(false);
            }

            return(true);
        }