C# Class FormsAnimations.Comanding.AsyncCommand

Example inspired from: 1) http://enumeratethis.com/2012/06/14/asynchronous-commands-in-metro-wpf-silverlight/ 2) https://msdn.microsoft.com/en-us/magazine/dn630647.aspx
Inheritance: IAsyncCommand
Afficher le fichier Open project: michaeled/FormsAnimations

Méthodes publiques

Méthode Description
AsyncCommand ( Task>.Func execute ) : System
AsyncCommand ( Task>.Func execute, bool>.Func canExecute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
OnCanExecuteChanged ( ) : void

Method Details

AsyncCommand() public méthode

public AsyncCommand ( Task>.Func execute ) : System
execute Task>.Func
Résultat System

AsyncCommand() public méthode

public AsyncCommand ( Task>.Func execute, bool>.Func canExecute ) : System
execute Task>.Func
canExecute bool>.Func
Résultat System

CanExecute() public méthode

public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

Execute() public méthode

public Execute ( object parameter ) : void
parameter object
Résultat void

ExecuteAsync() public méthode

public ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task
parameter object
Résultat System.Threading.Tasks.Task

OnCanExecuteChanged() protected méthode

protected OnCanExecuteChanged ( ) : void
Résultat void