MonoMac.CoreFoundation.DispatchQueue.DispatchSync C# (CSharp) Метод

DispatchSync() публичный Метод

public DispatchSync ( NSAction action ) : void
action NSAction
Результат void
        public void DispatchSync(NSAction action)
        {
            if (action == null)
                throw new ArgumentNullException ("action");

            dispatch_sync_f (handle, (IntPtr) GCHandle.Alloc (action), static_dispatch);
        }

Usage Example

 public override void Send(SendOrPostCallback d, object state)
 {
     queue.DispatchSync(() => d(state));
 }