C# Class Monobjc.AppKit.NSResponder

Inheritance: ISynchronizeInvoke
Afficher le fichier Open project: Monobjc/monobjc Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat IAsyncResult

EndInvoke() public méthode

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 .
Résultat Object

Invoke() public méthode

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.
Résultat Object