Bloom.Collection.BookCollection.StopWatchingDirectory C# (CSharp) 메소드

StopWatchingDirectory() 공개 메소드

This could plausibly be a Dispose(), but I don't want to make BoolCollection Disposable, as most of them don't need it.
public StopWatchingDirectory ( ) : void
리턴 void
        public void StopWatchingDirectory()
        {
            if (_watcher != null)
            {
                _watcher.Dispose();
                _watcher = null;
            }
        }