コード例 #1
0
        public IMethodPointer CreateMethodPointer(IActionContext action)
        {
            BreakActionMethod sp = (BreakActionMethod)this.Clone();

            sp._ownerAction = (ActionClass)action;
            return(sp);
        }
コード例 #2
0
        public bool IsSameMethod(IMethodPointer pointer)
        {
            BreakActionMethod mrm = pointer as BreakActionMethod;

            if (mrm != null)
            {
                return(_ownerAction.ScopeMethod.IsSameMethod(mrm._ownerAction.ScopeMethod));
            }
            return(false);
        }
コード例 #3
0
        public bool IsSameObjectRef(IObjectIdentity objectIdentity)
        {
            BreakActionMethod mrm = objectIdentity as BreakActionMethod;

            if (mrm != null)
            {
                return(true);
            }
            return(false);
        }
コード例 #4
0
        public bool IsSameMethod(IMethod method)
        {
            BreakActionMethod mrm = method as BreakActionMethod;

            if (mrm != null)
            {
                return(true);
            }
            return(false);
        }
コード例 #5
0
        public object Clone()
        {
            BreakActionMethod mrm = new BreakActionMethod(_ownerAction);

            return(mrm);
        }