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