private void StartWatchFolder() { if (_folderHandlers == null && _parentWatcher != null) { _folderHandlers = new FolderHandlers(FolderPath, _parentWatcher, HandleFolderChange, LogLevel.Debug); } }
private void StopWatchFolder() { if (_folderHandlers != null) { _folderHandlers.Release(); _folderHandlers = null; } }