public IMethodPointer CreateMethodPointer(IActionContext action) { SetterPointer sp = (SetterPointer)this.Clone(); sp._action = (IAction)action; return(sp); }
public object Clone() { SetterPointer obj = new SetterPointer(_action); if (_prop != null) { obj.SetProperty = (IProperty)_prop.Clone(); } return(obj); }
public bool IsSameObjectRef(IObjectIdentity objectIdentity) { SetterPointer cs = objectIdentity as SetterPointer; if (cs != null) { return(cs.MethodSignature == this.MethodSignature); } return(false); }
public bool IsSameMethod(IMethod method) { if (_prop != null) { SetterPointer cs = method as SetterPointer; if (cs != null) { return(_prop.IsSameObjectRef(cs.SetProperty)); } } return(false); }
public bool IsSameMethod(IMethodPointer pointer) { SetterPointer sp = pointer as SetterPointer; if (sp != null) { if (sp.SetProperty.IsSameObjectRef(SetProperty)) { return(true); } } return(false); }