public IMethodPointer CreateMethodPointer(IActionContext action) { MethodCreateValue sp = (MethodCreateValue)this.Clone(); sp._action = (ActionAssignInstance)action; return(sp); }
public bool IsSameObjectRef(IObjectIdentity objectIdentity) { MethodCreateValue cv = objectIdentity as MethodCreateValue; if (cv != null) { return(Owner.IsSameObjectRef(cv.Owner)); } return(false); }
public bool IsSameMethod(IMethod method) { MethodCreateValue mcv = method as MethodCreateValue; if (mcv != null) { return(mcv._action.ActionId == _action.ActionId); } return(false); }
public object Clone() { MethodCreateValue v = new MethodCreateValue(_action); if (_returnType != null) { v._returnType = (ParameterClass)_returnType.Clone(); } return(v); }