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