public void Dispose() { DirectoryNameWatcher?.Dispose(); FileNameWatcher?.Dispose(); FileWriteWatcher.Dispose(); }
public void Stop() { DirectoryNameWatcher?.Stop(); FileNameWatcher?.Stop(); FileWriteWatcher?.Stop(); }