public CapsForeachFuncWrapper(Gst.CapsForeachFunc managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new CapsForeachFuncNative(NativeCallback);
     }
 }
        public static Gst.CapsForeachFunc GetManagedDelegate(CapsForeachFuncNative native)
        {
            if (native == null)
            {
                return(null);
            }
            CapsForeachFuncWrapper wrapper = (CapsForeachFuncWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
 internal CapsForeachFuncInvoker(CapsForeachFuncNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
 internal CapsForeachFuncInvoker(CapsForeachFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
 internal CapsForeachFuncInvoker(CapsForeachFuncNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }