C# Class Monobjc.AppKit.NSResponder

Inheritance: ISynchronizeInvoke
Mostrar archivo Open project: Monobjc/monobjc Class Usage Examples

Public Methods

Method Description
BeginInvoke ( Delegate method ) : IAsyncResult

Executes the delegate on the main thread that this object executes on.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

EndInvoke ( IAsyncResult result ) : Object

Waits until the process started by calling completes, and then returns the value generated by the process.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

Invoke ( Delegate method ) : Object

Executes the delegate on the main thread that this object executes on.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

Method Details

BeginInvoke() public method

Executes the delegate on the main thread that this object executes on.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

public BeginInvoke ( Delegate method ) : IAsyncResult
method System.Delegate A to a method that takes parameters of the same number and type that are contained in args.
return IAsyncResult

EndInvoke() public method

Waits until the process started by calling completes, and then returns the value generated by the process.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

public EndInvoke ( IAsyncResult result ) : Object
result IAsyncResult An interface that represents the asynchronous operation started by calling .
return Object

Invoke() public method

Executes the delegate on the main thread that this object executes on.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

public Invoke ( Delegate method ) : Object
method System.Delegate A that contains a method to call, in the context of the thread for the control.
return Object