Example #1
0
 public void ValidationComplete_DummyHandler(object sender, ValidationEventArgs ea)
 {
     ValidationComplete_TimesCalled++;
 }
 internal override void _paramMgr_ValidationComplete(object sender, ValidationEventArgs ea)
 {
     _paramMgr_ValidationComplete_TimesCalled++;
 }
Example #3
0
 public void ValidationBegin_DummyHandler(object sender, ValidationEventArgs ea)
 {
     ValidationBegin_TimesCalled++;
 }
Example #4
0
 public void ValidationComplete_DummyHandler(object sender, ValidationEventArgs ea)
 {
     //throw new Exception("The method or operation is not implemented.");
 }
 internal override void _paramMgr_ValidationBegin(object sender, ValidationEventArgs ea)
 {
     _paramMgr_ValidationBegin_TimesCalled++;
 }
        public void _paramMgr_ValidationComplete_DoesNothingForNow()
        {
            // does nothing right now
            ValidationEventArgs args = new ValidationEventArgs();
            var mockParamMgr = new Mock<IParamMgr>();

            using (RecordExpectations recorder = RecorderManager.StartRecording())
            {
                recorder.DefaultBehavior.Strict = StrictFlags.InstanceMethods;
            }

            _element._paramMgr_ValidationComplete(mockParamMgr, args);
            MockManager.Verify();
        }
Example #7
0
 internal void _paramMgr_ValidationComplete(object sender, ValidationEventArgs ea)
 {
     // do nothing for now
     //Debug.WriteLine(string.Format("Element [{0}] Execution: validation complete.", Id));
 }
Example #8
0
 /// <summary>
 /// Triggers the ValidationComplete event.
 /// </summary>
 public virtual void OnValidationComplete(ValidationEventArgs ea)
 {
     if (ValidationComplete != null)
         ValidationComplete(this, ea);
 }
Example #9
0
 /// <summary>
 /// Triggers the ValidationBegin event.
 /// </summary>
 public virtual void OnValidationBegin(ValidationEventArgs ea)
 {
     if (ValidationBegin != null)
         ValidationBegin(this, ea);
 }
Example #10
0
 internal virtual void _paramMgr_ValidationBegin(object sender, ValidationEventArgs ea)
 {
     // do nothing for now
     //Debug.WriteLine(string.Format("Element [{0}] Execution: validation beginning.", Id));
 }