Interface IAsyncRelayCommand
An interface expanding IRelayCommand to support asynchronous operations.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: solution.dll
Syntax
public interface IAsyncRelayCommand : IRelayCommand, ICommand, INotifyPropertyChanged
  Properties
| Name | Description | 
|---|---|
| canBeCancelled | Gets a value indicating whether a running operation for this command can currently be canceled.  | 
      
| executionTask | Gets the last scheduled Task, if available. This property notifies a change when the Task completes.  | 
      
| isCancellationRequested | Gets a value indicating whether a running operation for this command has been cancelled.  | 
      
| isRunning | Gets a value indicating whether an operation for this command is currently running.  | 
      
Methods
| Name | Description | 
|---|---|
| Cancel() | Attempts to cancel the currently running operation for this command.  | 
      
| ExecuteAsync(object?) | Executes the command asynchronously.  |