Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The implemenation makes use of the
  • Lines 7 - 11: creates the FileSystemWatcher object
  • Lines 14 - 33: holds hold the script block to move files in case of events indicating creation of a file.
  • Lines 1 36 -138: holds hold the script block to log events in case of events not related to creation of a file.
  • Lines 41 - 44: subscribe to the related events and assign the respective script block