internal override void _paramMgr_ParamModified(object sender, ParamModifiedEventArgs ea) { _paramMgr_ParamModified_TimesCalled++; }
public void ParamModified_DummyHandler(object sender, ParamModifiedEventArgs ea) { ParamModified_TimesCalled++; }
public void ParamModified_DummyHandler(object sender, ParamModifiedEventArgs ea) { //throw new Exception("The method or operation is not implemented."); }
public void _paramMgr_ParamModified_CallsResetWithNotifications() { ParamModifiedEventArgs args = new ParamModifiedEventArgs(); var mockParamMgr = new Mock<IParamMgr>(); using (RecordExpectations recorder = RecorderManager.StartRecording()) { _element.SetStatus(ElementStatus.Incomplete, StatusChangeDriver.NormalTransition, null); recorder.CheckArguments(); } _element._paramMgr_ParamModified(mockParamMgr, args); MockManager.Verify(); }
internal void _paramMgr_ParamModified(object sender, ParamModifiedEventArgs ea) { if (sender != null) { // in all cases, if a param value is changed, the element is incomplete SetStatus(ElementStatus.Incomplete, StatusChangeDriver.NormalTransition, null); } }
/// <summary> /// Triggers the ParamModified event. /// </summary> internal virtual void OnParamModified(ParamModifiedEventArgs ea) { if (ParamModified != null) ParamModified(this, ea); }
protected virtual void OnParamModified(ParamModifiedEventArgs ea) { if (ParamModified != null) ParamModified(this, ea); }