Click or drag to resize

CLREventDataTObject Class

A class for event information, it extends CLREventData, adding management of simple object like bool, string, byte, and so on/>
Inheritance Hierarchy
SystemObject
  MASES.JCOBridge.C2JBridgeCLREventData
    MASES.JCOBridge.C2JBridgeCLREventDataTObject

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
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

The CLREventDataTObject type exposes the following members.

Constructors
 NameDescription
Public methodCLREventDataTObject Initialize a new CLREventDataTObject
Top
Properties
 NameDescription
Protected propertyDoNotDisposeEventData Override to return to prevent automatic disposal of EventData when Dispose is called on this instance. Default is .
(Inherited from CLREventData)
Public propertyDynEventData Dynamic accessor to the information about event information received from the JVM
(Inherited from CLREventData)
Public propertyDynExtraData A dynamic array of extra information ordered with the same order of the caller, or null if HasExtraData is
(Inherited from CLREventData)
Public propertyEventData Accessor to the information about event information received from the JVM
(Inherited from CLREventData)
Public propertyExtraData An array of extra information ordered with the same order of the caller, or null if HasExtraData is
(Inherited from CLREventData)
Public propertyExtraDataLength Returns how many Object contains extra information.
(Inherited from CLREventData)
Public propertyHasExtraData True if the event has other objects associated
(Inherited from CLREventData)
Public propertyItem Returns the indexed IJavaObject
(Inherited from CLREventData)
Public propertyTypedEventData The data associated to the event converted into TObject
Top
Methods
 NameDescription
Protected methodCheckDisposed Test if this instance was disposed
(Inherited from CLREventData)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from CLREventData)
Protected methodDispose(Boolean) Implements the pattern described in https://learn.microsoft.com/en-en/dotnet/standard/garbage-collection/implementing-dispose
(Overrides CLREventDataDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizer
(Inherited from CLREventData)
Public methodGetAtTReturn The extra data associated to the event converted into TReturn
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn Converts a generic object
(Defined by JCOBridgeExtensions)
Public Extension MethodToTObject Converts data associated to CLREventData into TObject
(Defined by JCOBridgeExtensions)
Public Extension MethodToTObject Converts extra data associated to CLREventData into TObject
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Top
See Also