Table of Contents

Class CLREventData<TObject>

Namespace
MASES.JCOBridge.C2JBridge
Assembly
C2JBridge.dll

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 IJavaObject

Remote 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 int

The index to retrieve

Returns

TReturn

The extra data at index index converted to TReturn, 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