[]
Root class for all Cpp interop object.
public class CppObject : DisposeBase, IDisposable
Name | Description |
---|---|
CppObject() | Initializes a new instance of the CppObject class. |
CppObject(IntPtr) | Initializes a new instance of the CppObject class. |
Name | Description |
---|---|
NativePointer | Get a pointer to the underlying Cpp Object |
Tag | Gets or sets a custom user tag object to associate with this instance.. |
Name | Description |
---|---|
Dispose(bool) | Clean up any resources being used. |
FromPointer<T>(IntPtr) | Instantiate a ComObject from a native pointer. |
FromTemp(CppObject) | Initializes this instance with a pointer from a temporary object and set the pointer of the temporary |
FromTemp(IntPtr) | Initializes this instance with a pointer from a temporary object and set the pointer of the temporary |
NativePointerUpdated(IntPtr) | Method called when the NativePointer is updated. |
NativePointerUpdating() | Method called when NativePointer is going to be update. |
ToCallbackPtr<TCallback>(ICallbackable) | Return the unmanaged C++ pointer from a ICallbackable instance. |
Name | Description |
---|---|
explicit operator IntPtr(CppObject) |