Click or drag to resize

JVMBridgeBaseWrapsDirectTNewClass Method

Simplified version of WrapsTNewClass(IJavaObject) which wraps the javaObject with a new TNewClass class

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public static TNewClass WrapsDirect<TNewClass>(
	IJavaObject javaObject
)
where TNewClass : new(), IJVMBridgeBase

Parameters

javaObject  IJavaObject
The IJavaObject to be wrapped from TNewClass

Type Parameters

TNewClass
The class implementing IJVMBridgeBase

Return Value

TNewClass
An newly initialized TNewClass
See Also