public bool IsSameObjectRef(IObjectIdentity objectIdentity)
        {
            MathExpMethod mem = objectIdentity as MathExpMethod;

            if (mem != null)
            {
                return(IsSameMethod(mem));
            }
            return(false);
        }
        public bool IsSameMethod(IMethodPointer pointer)
        {
            MathExpMethod mem = pointer as MathExpMethod;

            if (mem != null && mem.MathExpression != null)
            {
                return(mem.MathExpression.IsSameMethod(_exp));
            }
            return(false);
        }
        public object Clone()
        {
            MathExpMethod mem = new MathExpMethod();

            if (_exp != null)
            {
                mem._exp = (IMathExpression)_exp.Clone();
            }
            mem._action = _action;
            return(mem);
        }