Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileWatcher sample #23

Open
LeeCampbell opened this issue Nov 17, 2015 · 2 comments
Open

FileWatcher sample #23

LeeCampbell opened this issue Nov 17, 2015 · 2 comments

Comments

@LeeCampbell
Copy link
Owner

Provide help to questions like [http://codereview.stackexchange.com/questions/89961/rx-net-file-watcher]

Walk through the issues with FileSystemWatcher and then link back to polling solution from #22

@LeeCampbell
Copy link
Owner Author

var fsw = new FileSystemWatcher(".");

var fileChangedStream = Observable.FromEventPattern<FileSystemEventHandler, FileSystemEventArgs>(
    handler => fsw.Changed += handler,
    handler => fsw.Changed -= handler)

@LeeCampbell
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant