This example illustrates how to use the mocked FileSystemWatcher.
In the example we listen to a Deleted event and set a ManualResetEventSlim.
After deleting a directory this event is triggered within 1s.
This example illustrates how to use the mocked FileSystemWatcher.
In the example we listen to a Deleted event and set a ManualResetEventSlim.
After deleting a directory this event is triggered within 1s.