C# Class Monobjc.Foundation.NSThreadSynchronizationContext

SynchronizationContext for posting operations to an
Inheritance: System.Threading.SynchronizationContext
Exibir arquivo Open project: Monobjc/monobjc

Public Methods

Method Description
CreateCopy ( ) : SynchronizationContext

Creates the copy.

NSThreadSynchronizationContext ( ) : System

Initializes a new instance of the Monobjc.Foundation.NSThreadSynchronizationContext class.

NSThreadSynchronizationContext ( NSThread thread ) : System

Initializes a new instance of the Monobjc.Foundation.NSThread+NSThreadSynchronizationContext class.

Post ( SendOrPostCallback d, Object state ) : void

Post an operation to the thread asynchronously.

Send ( SendOrPostCallback d, Object state ) : void

Send an operation to the thread and block until complete.

Method Details

CreateCopy() public method

Creates the copy.
public CreateCopy ( ) : SynchronizationContext
return System.Threading.SynchronizationContext

NSThreadSynchronizationContext() public method

Initializes a new instance of the Monobjc.Foundation.NSThreadSynchronizationContext class.
public NSThreadSynchronizationContext ( ) : System
return System

NSThreadSynchronizationContext() public method

Initializes a new instance of the Monobjc.Foundation.NSThread+NSThreadSynchronizationContext class.
public NSThreadSynchronizationContext ( NSThread thread ) : System
thread NSThread The underlying thread.
return System

Post() public method

Post an operation to the thread asynchronously.
public Post ( SendOrPostCallback d, Object state ) : void
d SendOrPostCallback Delegate to invoke
state Object State object
return void

Send() public method

Send an operation to the thread and block until complete.
public Send ( SendOrPostCallback d, Object state ) : void
d SendOrPostCallback Delegate to invoke
state Object State object
return void