Class ITextDrawEventHandler.EventHandlerMarshaller
Manages the marshalling of native event handlers for ITextDrawEventHandler.
public class ITextDrawEventHandler.EventHandlerMarshaller : EventHandlerMarshaller<ITextDrawEventHandler>, IEventHandlerMarshaller<ITextDrawEventHandler>
- Inheritance
-
ITextDrawEventHandler.EventHandlerMarshaller
- Implements
- Inherited Members
Constructors
EventHandlerMarshaller()
public EventHandlerMarshaller()
Properties
Instance
Gets the singleton instance of the ITextDrawEventHandler.EventHandlerMarshaller.
public static ITextDrawEventHandler.EventHandlerMarshaller Instance { get; }
Property Value
Methods
Create(ITextDrawEventHandler)
Creates the unmanaged counterpart of the specified event handler.
protected override (nint, object) Create(ITextDrawEventHandler handler)
Parameters
handlerITextDrawEventHandlerThe event handler for which to create the unmanaged counterpart.
Returns
- (nint, object)
An unmanaged handle and an object of luggage which will be kept so GC won't clean it up.
Free(nint)
Frees the resources associated with the specified unmanaged handle.
protected override void Free(nint handle)
Parameters
handlenintThe unmanaged handle to free.