NLog.Internal.MultiFileWatcher.StopWatching C# (CSharp) Method

StopWatching() public method

Stops watching all files.
public StopWatching ( ) : void
return void
        public void StopWatching()
        {
            lock (this)
            {
                foreach (FileSystemWatcher watcher in watcherMap.Values)
                {
                    StopWatching(watcher);
                }
                this.watcherMap.Clear();
            }
        }

Same methods

MultiFileWatcher::StopWatching ( FileSystemWatcher watcher ) : void
MultiFileWatcher::StopWatching ( string fileName ) : void