public MethodAction(ClassPointer owner)
     : base(owner)
 {
     this.ActionList = new BranchList(this);
     _actType        = EnumWebActionType.Unknown;
     _pointer        = new MethodActionPointer(this);
     ActionHolder    = owner;
 }
        public bool IsSameObjectRef(IObjectIdentity objectIdentity)
        {
            MethodAction m = objectIdentity as MethodAction;

            if (m != null)
            {
                return(_method.IsSameMethod(m));
            }
            MethodActionPointer mp = objectIdentity as MethodActionPointer;

            if (mp != null)
            {
                return(_method.IsSameMethod(mp.MethodPointed));
            }
            return(false);
        }
        public bool IsSameMethod(IMethod method)
        {
            MethodAction m = method as MethodAction;

            if (m != null)
            {
                return(_method.IsSameMethod(m));
            }
            MethodActionPointer mp = method as MethodActionPointer;

            if (mp != null)
            {
                return(_method.IsSameMethod(mp.MethodPointed));
            }
            return(false);
        }
        public object Clone()
        {
            MethodActionPointer mp = new MethodActionPointer(_method);

            return(mp);
        }