コード例 #1
0
 public MethodAction(ClassPointer owner)
     : base(owner)
 {
     this.ActionList = new BranchList(this);
     _actType        = EnumWebActionType.Unknown;
     _pointer        = new MethodActionPointer(this);
     ActionHolder    = owner;
 }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        public object Clone()
        {
            MethodActionPointer mp = new MethodActionPointer(_method);

            return(mp);
        }