Exemplo n.º 1
0
        public IMethodPointer CreateMethodPointer(IActionContext action)
        {
            FireEventMethod fe = (FireEventMethod)this.Clone();

            fe._action = (IAction)action;
            return(fe);
        }
Exemplo n.º 2
0
        public bool IsSameMethod(IMethod method)
        {
            FireEventMethod fe = method as FireEventMethod;

            if (fe != null)
            {
                return(fe.WholeId == this.WholeId);
            }
            return(false);
        }
Exemplo n.º 3
0
        public bool IsSameMethod(IMethodPointer method)
        {
            FireEventMethod fe = method as FireEventMethod;

            if (fe != null)
            {
                return(fe.Event.IsSameObjectRef(_event));
            }
            return(false);
        }
Exemplo n.º 4
0
        public bool IsSameObjectRef(IObjectIdentity objectIdentity)
        {
            FireEventMethod fe = objectIdentity as FireEventMethod;

            if (fe != null)
            {
                return(fe.Event.IsSameObjectRef(_event));
            }
            return(false);
        }
Exemplo n.º 5
0
        public object Clone()
        {
            FireEventMethod obj = new FireEventMethod(_event);

            return(obj);
        }