Exemple #1
0
 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);
		}
Exemple #3
0
 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);
     }
 }
Exemple #4
0
 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);
 }
Exemple #5
0
 public Callback(DuplicateCallback callback)
 {
     this.callback   = callback;
     IsDirectBinding = false;
     DangerousRetain();
 }
Exemple #6
0
 public Callback(DuplicateCallback callback)
 {
     this.callback = callback;
 }
			public Callback (DuplicateCallback callback)
			{
				this.callback = callback;
			}
Exemple #8
0
 public Callback(DuplicateCallback callback)
 {
     this.callback = callback;
     IsDirectBinding = false;
     DangerousRetain ();
 }