public void Stop()
        {
            examWatcher.Stop();
            roomWatcher.Stop();
            substitutionWatcher.Stop();
            supervisionWatcher.Stop();
            timetableWatcher.Stop();
            tuitionWatcher.Stop();

            logger.LogInformation("Export service stopped.");
        }
Beispiel #2
0
 public void Stop()
 {
     _watcher.Stop();
 }
Beispiel #3
0
        public Task StopAsync(CancellationToken cancellationToken)
        {
            _watcher.Stop();

            return(Task.CompletedTask);
        }
 public void Stop()
 {
     _settingsWatcher.Stop();
     _fileWatcher.Stop();
     _logger.Information("Client stopped.");
 }
Beispiel #5
0
 private void DoStop()
 {
     _watcher.Stop();
     IsScanning = false;
 }
 protected override void OnStop()
 {
     _watcher.Stop();
 }
Beispiel #7
0
 protected override void OnStop()
 {
     Logger.Info("Thread Stop");
     _fileWatcher.Stop();
     Thread.Sleep(1000);
 }