I have imported the .NET FileSystemWatcher class and are trying to get its event(s) passed to Jade.
For testing, I have a form with a reference to the imported class, and can create it and set it up okay.
I have tested the FileSystemWatcher.waitForChanged method which waits for a file change to occur and then continues executing the current method. This works fine. However I cannot work out how to correctly populate the params in Jades beginEventNotification(receiver: Object; ref: Feature) method (Jade adds it to the imported class), in order to get the events to be passed through to JADE for handling.
The documentation for the beginEventNotification method states: The receiver parameter is the object to which events are delivered. The ref parameter is a reference property on the receiver of the type that contains the events.
When I click on my forms reference to the FileSystemWatcher class, the event methods are there for use, but I believe I need the beginEventNotification method to be called to get jade to actually enable those event methods.
Any help would be much appreciated