Exemplo n.º 1
0
        static public T [] ArrayFromHandle <T> (NativeHandle handle, Converter <NativeHandle, T> creator, bool releaseHandle)
        {
            var rv = ArrayFromHandle <T> (handle, creator);

            if (releaseHandle && handle == NativeHandle.Zero)
            {
                NSObject.DangerousRelease(handle);
            }
            return(rv);
        }
Exemplo n.º 2
0
 public static void ReleaseNative(IntPtr handle)
 {
     NSObject.DangerousRelease(handle);
 }
Exemplo n.º 3
0
 public static void ReleaseNative(NativeHandle handle)
 {
     NSObject.DangerousRelease(handle);
 }