FRNodeEventDispatcher

The FRNodeEventDispatcher can be used to call FlowReactor events from a custom node. To call an event, make sure your graph has an assigned eventboard with an event. Also your custom node needs to have an instance of the FRNodeEventDispatcher module. (create manually or with the node wizard)

Example

In your custom node simply use following code to raise an event.

FRNodeEventDispatcher eventDispatcher = new FRNodeEventDispatcher();

// you can also pass parameters to the RaiseEvent method. Make sure that these parameters type do match with the event in the eventboard.
eventDispatcher.RaiseEvent("MyEvent", "myEventStringParameter");

Last updated