protected override void OnStop() { try { _fileWatcher.Stop(); } catch (Exception e) { _logger.ErrorFormat("Failed to stop service Exception {0}", e); throw; } }
private static void Stop() { _fileWatcher.Stop(); }
protected override void OnStop() { try { _fileWatcher.Stop(); } catch (Exception e) { _logger.ErrorFormat("Failed to stop service Exception {0}", e); throw; } }
private static void Stop() { _fileWatcher.Stop(); }