Click or drag to resize

JVMBridgeBaseCastDirectTNewClass Method

Simplified version of CastToTNewClass which wraps this instance with a new TNewClass class

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

Type Parameters

TNewClass
The class implementing IJVMBridgeBase

Return Value

TNewClass
An newly initialized TNewClass

Implements

IJVMBridgeBaseCastDirectTNewClass
Remarks
Use this method with caution since no check on target TNewClass will be made
See Also