public void Initialize()
 {
     _timer = new Mock<ThreadingTimerWrapper>();
     _settings=new WatchDogTimerSettings(10000);
     _watchDog = new WatchDogTimer(_timer.Object, _settings);
     _tokenSource=new Mock<CancellationTokenSourceWrapper>();
 }
Beispiel #2
0
 public void Initialize()
 {
     _timer       = new Mock <ThreadingTimerWrapper>();
     _settings    = new WatchDogTimerSettings(10000);
     _watchDog    = new WatchDogTimer(_timer.Object, _settings);
     _tokenSource = new Mock <CancellationTokenSourceWrapper>();
 }