Exemplo n.º 1
0
 public TypeFindHelperGetRangeFunctionWrapper(Gst.Base.TypeFindHelperGetRangeFunction managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new TypeFindHelperGetRangeFunctionNative(NativeCallback);
     }
 }
Exemplo n.º 2
0
        public static Gst.Base.TypeFindHelperGetRangeFunction GetManagedDelegate(TypeFindHelperGetRangeFunctionNative native)
        {
            if (native == null)
            {
                return(null);
            }
            TypeFindHelperGetRangeFunctionWrapper wrapper = (TypeFindHelperGetRangeFunctionWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
		public static Gst.Base.TypeFindHelperGetRangeFunction GetManagedDelegate (TypeFindHelperGetRangeFunctionNative native)
		{
			if (native == null)
				return null;
			TypeFindHelperGetRangeFunctionWrapper wrapper = (TypeFindHelperGetRangeFunctionWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
		public TypeFindHelperGetRangeFunctionWrapper (Gst.Base.TypeFindHelperGetRangeFunction managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new TypeFindHelperGetRangeFunctionNative (NativeCallback);
		}
		internal TypeFindHelperGetRangeFunctionInvoker (TypeFindHelperGetRangeFunctionNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify)
		{
			this.native_cb = native_cb;
			__data = data;
			__notify = notify;
		}
		internal TypeFindHelperGetRangeFunctionInvoker (TypeFindHelperGetRangeFunctionNative native_cb, IntPtr data) : this (native_cb, data, null) {}
Exemplo n.º 7
0
 internal TypeFindHelperGetRangeFunctionInvoker(TypeFindHelperGetRangeFunctionNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
Exemplo n.º 8
0
 internal TypeFindHelperGetRangeFunctionInvoker(TypeFindHelperGetRangeFunctionNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }