public interface IJCVoidEventEmit
Implement this interface to handle CLR events fired on objects registered via
JCObject.RegisterEventListener(String, IJCVoidEventEmit). When the CLR event
fires, the bridge invokes EventRaised(Object...) and returns control to the
CLR caller without expecting a return value. Use this interface for CLR event delegates
whose return type is void.
For CLR events with a non-void return type, use IJCEventEmit instead.
See also: JCOReflector for usage examples.
| Modifier and Type | Method and Description |
|---|---|
void |
EventRaised(Object... args)
Invoked by the bridge when the associated CLR event fires.
|
void EventRaised(Object... args)
No return value is expected. After this method returns, control is passed back to the CLR caller.
args - the event arguments as an array of objects, following the order and
types of the CLR delegate parameters.