Namespace: Rx.Net – Class: NativeInterfaceWrapper – Assembly: Rx.LFR.Net

NativeInterfaceWrapper.NativeInterfaceWrapper Constructor

C#
public NativeInterfaceWrapper(TNative* native, bool transferOwnership)

Constructor that wraps the given native instance.

Disposing does destroy if the ownership of the object has been transferred.

Parameters

[TNative*] native

[in] The pointer to the native instance to wrap by this class.

[bool] transferOwnership

True to transfer the ownership of the native instance to the wrapper.