Interface IAsyncDelegateCommand
Defines methods for an asynchronous delegate command.
System.Windows.Input.ICommand.CanExecute(System.Object)
System.Windows.Input.ICommand.Execute(System.Object)
System.Windows.Input.ICommand.CanExecuteChanged
Namespace: Sartorius.SAF.Presentation.Commands
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IAsyncDelegateCommand : ICommand
Methods
View SourceCanExecute()
Defines the method that determines whether the command can execute in its current state.
Declaration
bool CanExecute()
Returns
Type | Description |
---|---|
System.Boolean |
|
ExecuteAsync()
Defines the method to be called when the command is invoked.
Declaration
Task ExecuteAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task object representing the asynchronous operation. |