Click or drag to resize

JVMBridgeBaseWrapsTReturn, TConverter(Type, IJavaObject) Method

Wraps the javaObject with a new type class

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public static TReturn Wraps<TReturn, TConverter>(
	Type type,
	IJavaObject javaObject
)
where TConverter : new(), Object, IJVMBridgeBaseConvert<Object, TReturn>

Parameters

type  Type
The Type implementing IJVMBridgeBase to be instantiated
javaObject  IJavaObject
The BridgeInstance to be used

Type Parameters

TReturn
The return type extended or implmeneted from type: in some condition can be helpful to return a different TReturn
TConverter
The converter to be used to convert from instance of type to TReturn

Return Value

TReturn
An newly initialized TReturn
See Also