internal CFString(IntPtr handle, bool owns) { this.handle = handle; if (!owns) { CFObject.CFRetain(handle); } }
public CFDictionary(IntPtr handle, bool owns) { if (!owns) { CFObject.CFRetain(handle); } this.Handle = handle; }
public CFData(IntPtr handle, bool owns) { if (!owns) { CFObject.CFRetain(handle); } this.handle = handle; }
internal CFRunLoopSource(IntPtr handle, bool ownsHandle) { if (!ownsHandle) { CFObject.CFRetain(handle); } this.handle = handle; }
internal CFArray(IntPtr handle, bool owns) { if (handle == IntPtr.Zero) { throw new ArgumentNullException("handle"); } this.handle = handle; if (!owns) { CFObject.CFRetain(handle); } }
internal CFRunLoopSource(IntPtr handle) { CFObject.CFRetain(handle); this.handle = handle; }