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

ConstNativeWrapper Class

C#
class ConstNativeWrapper<TNative>

Provides functionality for wrapping a const native type by a managed class.

Type Parameters

TNative

The type of the const native class.

Constructors

ConstNativeWrapper()

Default constructor. Creates the native instance. Disposing destroys the native instance.

ConstNativeWrapper(native)

Default constructor. Uses the given native instance. Disposing does NOT destroy the native instance.

Finalizer

~ConstNativeWrapper()

Finalizer. Deletes the native instance if created by the default constructor and resets the native pointer.

Properties

IsDisposed

True if this object is disposed.

Methods

GetNative()

Gets the native instance.

Dispose()

Destructor. Calls the finalizer.