Class CLRListenerEventArgs<TDataClass>
Generic event args used by AddEventHandler<TDataClass>(string, EventHandler<CLRListenerEventArgs<TDataClass>>)
public class CLRListenerEventArgs<TDataClass> : EventArgs where TDataClass : CLREventData
Type Parameters
TDataClass
The class managing event information inherited from CLREventData
- Inheritance
-
CLRListenerEventArgs<TDataClass>
- Inherited Members
- Extension Methods
Properties
EventData
Event information. Exposes the accessor class which wraps remote information. See extension classes of CLREventData
public TDataClass EventData { get; }
Property Value
- TDataClass
Listener
IJVMBridgeBase instance associated to the handler
public IJVMBridgeBase Listener { get; }
Property Value
Methods
GetReturnValue<TReturn>()
Set the value to be returned back to the JVM from the action performed
public TReturn GetReturnValue<TReturn>()
Returns
- TReturn
The value as
TReturn
Type Parameters
TReturn
The return value type
SetReturnValue(object)
Set the value to be returned back to the JVM from the action performed
public void SetReturnValue(object value)
Parameters
value
objectThe value to be returned back