public static GLib.DBusSubtreeEnumerateFunc GetManagedDelegate (DBusSubtreeEnumerateFuncNative native) { if (native == null) return null; DBusSubtreeEnumerateFuncWrapper wrapper = (DBusSubtreeEnumerateFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public DBusSubtreeEnumerateFuncWrapper (GLib.DBusSubtreeEnumerateFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new DBusSubtreeEnumerateFuncNative (NativeCallback); }
internal DBusSubtreeEnumerateFuncInvoker (DBusSubtreeEnumerateFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal DBusSubtreeEnumerateFuncInvoker (DBusSubtreeEnumerateFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal DBusSubtreeEnumerateFuncInvoker (DBusSubtreeEnumerateFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}