Namespace: Rx.Net – Class: NativeInterfaceWrapper – Assembly: Rx.LFR.Net
NativeInterfaceWrapper Class
C#
class NativeInterfaceWrapper<TNative, TEnumInterface> : Rx.Net.NativeWrapper<TNative>
Provides functionality for wrapping a native type by a managed class.
Type Parameters
TNative |
The type of the native class. |
TEnumInterface |
Type of the enum interface. |
Constructors
NativeInterfaceWrapper() | Default constructor. |
NativeInterfaceWrapper(native) | Constructor that wraps the given native instance. Disposing does NOT destroy the native instance. |
NativeInterfaceWrapper(native, transferOwnership) | Constructor that wraps the given native instance. |
Properties
IsDisposed | True if this object is disposed. (Inherited from NativeWrapper) |
SyncRoot | A SyncRoot object that can be used to lock this object externally. (Inherited from NativeWrapper) |
Methods
GetInterface(ifcId) | Gets the interface. |
GetNative() | Gets the native instance. (Inherited from NativeWrapper) |