internal override void _paramMgr_ParamModified(object sender, ParamModifiedEventArgs ea)
 {
     _paramMgr_ParamModified_TimesCalled++;
 }
Exemple #2
0
 public void ParamModified_DummyHandler(object sender, ParamModifiedEventArgs ea)
 {
     ParamModified_TimesCalled++;
 }
Exemple #3
0
 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();
        }
Exemple #5
0
 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);
     }
 }
Exemple #6
0
 /// <summary>
 /// Triggers the ParamModified event.
 /// </summary>
 internal virtual void OnParamModified(ParamModifiedEventArgs ea)
 {
     if (ParamModified != null)
         ParamModified(this, ea);
 }
Exemple #7
0
 protected virtual void OnParamModified(ParamModifiedEventArgs ea)
 {
     if (ParamModified != null)
         ParamModified(this, ea);
 }