Example #1
0
 /// <summary>
 /// Sets up the setting with the control specified
 /// </summary>
 /// <param name="controlToUse"></param>
 public virtual void Setup(IInputControl <T> controlToUse)
 {
     ArgumentVerifier.CantBeNull(controlToUse, nameof(controlToUse));
     _inputControl = controlToUse;
     _inputControl.ValueChanged += _inputControl_ValueChanged;
 }
Example #2
0
 /// <summary>
 /// Sets the output control to log the messages on we're receiving.
 /// </summary>
 /// <param name="outputControl"></param>
 public void Setup(ApplicationOutput outputControl)
 {
     ArgumentVerifier.CantBeNull(outputControl, nameof(outputControl));
     _outputControl = outputControl;
 }