Ejemplo n.º 1
0
        public Operation Clone()
        {
            var copy = ShallowClone();

            if (LeftOperand != null)
            {
                copy.LeftOperand = LeftOperand.Clone();
            }
            if (RightOperand != null)
            {
                copy.RightOperand = RightOperand.Clone();
            }
            return(copy);
        }