public void DuplicateDocument(DuplicateCallback callback) { if (callback == null) { _DuplicateDocument (null, null, IntPtr.Zero); } else { _DuplicateDocument (new Callback (callback), new Selector ("document:didDuplicate:contextInfo:"), IntPtr.Zero); } }
public void DuplicateDocument (DuplicateCallback callback) { if (callback == null) _DuplicateDocument (null, null, IntPtr.Zero); var proxy = new Callback (callback); if (proxies == null) proxies = new List<Callback> (); proxies.Add (proxy); _DuplicateDocument (proxy, new Selector ("document:didDuplicate:contextInfo:"), IntPtr.Zero); }
public void DuplicateDocument(DuplicateCallback callback) { if (callback == null) { _DuplicateDocument(null, null, IntPtr.Zero); } else { _DuplicateDocument(new Callback(callback), new Selector("document:didDuplicate:contextInfo:"), IntPtr.Zero); } }
public void DuplicateDocument(DuplicateCallback callback) { if (callback == null) { _DuplicateDocument(null, null, IntPtr.Zero); } proxy = new Callback(); if (proxies == null) { proxies = new ArrayList(); } proxies.Add(proxy); _DuplicateDocument(proxy, new Selector("document:didDuplicate:contextInfo:"), IntPtr.Zero); }
public Callback(DuplicateCallback callback) { this.callback = callback; IsDirectBinding = false; DangerousRetain(); }
public Callback(DuplicateCallback callback) { this.callback = callback; }
public Callback (DuplicateCallback callback) { this.callback = callback; }
public Callback(DuplicateCallback callback) { this.callback = callback; IsDirectBinding = false; DangerousRetain (); }