Class CLREventData<TObject>
A class for event information, it extends CLREventData, adding management of simple object like bool, string, byte, and so on/>
public class CLREventData<TObject> : CLREventData
Type Parameters
TObject
The data associated to the event: class implementing IJVMBridgeBase, IJavaObject, Enum, primitive types or array of primitives types
- Inheritance
-
CLREventData<TObject>
- Inherited Members
- Extension Methods
Constructors
CLREventData(IJavaObject)
Initialize a new CLREventData<TObject>
public CLREventData(IJavaObject actionReference)
Parameters
actionReference
IJavaObjectRemote object associated to the event
Properties
TypedEventData
The data associated to the event converted into TObject
public virtual TObject TypedEventData { get; }
Property Value
- TObject
Methods
GetAt<TReturn>(int)
The extra data associated to the event converted into TReturn
public TReturn GetAt<TReturn>(int index)
Parameters
index
intThe index to retrieve
Returns
- TReturn
The extra data at index
index
converted toTReturn
, or null if there is any extra data
Type Parameters
TReturn
The return type expected: class implementing IJVMBridgeBase, IJavaObject, Enum, primitive types or array of primitives types