Table of Contents

Class ObjectMapper

Namespace
GObject.Internal
Assembly
GObject-2.0.dll
public static class ObjectMapper
Inheritance
ObjectMapper
Inherited Members

Properties

ObjectCount

public static int ObjectCount { get; }

Property Value

int

Methods

Map(IntPtr, object, bool)

public static void Map(IntPtr handle, object obj, bool ownedRef)

Parameters

handle IntPtr
obj object
ownedRef bool

TryGetObject<T>(IntPtr, out T?)

public static bool TryGetObject<T>(IntPtr handle, out T? obj) where T : class, IHandle

Parameters

handle IntPtr
obj T

Returns

bool

Type Parameters

T

Unmap(IntPtr)

public static void Unmap(IntPtr handle)

Parameters

handle IntPtr