C# Class Caliburn.Micro.Execute

Enables easy marshalling of code to the UI thread.
Afficher le fichier Open project: bryanhunter/CaliburnMicroTalk Class Usage Examples

Méthodes publiques

Méthode Description
InitializeWithDispatcher ( ) : void

Initializes the framework using the current dispatcher.

OnUIThread ( this action ) : void

Executes the action on the UI thread.

ResetWithoutDispatcher ( ) : void

Resets the executor to use a non-dispatcher-based action executor.

Method Details

InitializeWithDispatcher() public static méthode

Initializes the framework using the current dispatcher.
public static InitializeWithDispatcher ( ) : void
Résultat void

OnUIThread() public static méthode

Executes the action on the UI thread.
public static OnUIThread ( this action ) : void
action this The action to execute.
Résultat void

ResetWithoutDispatcher() public static méthode

Resets the executor to use a non-dispatcher-based action executor.
public static ResetWithoutDispatcher ( ) : void
Résultat void