public DispatchSync ( NSAction action ) : void | ||
action | NSAction | |
return | void |
public void DispatchSync(NSAction action)
{
if (action == null)
throw new ArgumentNullException ("action");
dispatch_sync_f (handle, (IntPtr) GCHandle.Alloc (action), static_dispatch);
}
public override void Send(SendOrPostCallback d, object state) { queue.DispatchSync(() => d(state)); }