Click or drag to resize

IAsyncRelayCommand Interface

Extends ICommand to allow asynchronous command execution.

Namespace:  BionicCode.Utilities.Net.Framework.Wpf
Assembly:  BionicCode.Utilities.Net.Framework.Wpf (in BionicCode.Utilities.Net.Framework.Wpf.dll) Version: 1.0.3.0 (1.0.0.0)
Syntax
public interface IAsyncRelayCommand : ICommand

The IAsyncRelayCommand type exposes the following members.

Properties
  NameDescription
Public propertyIsExecuting
A flag to signal if the asynchronous operation has completed.
Top
Methods
  NameDescription
Public methodCanExecute()
Checks if the ICommand can execute.
Public methodCanExecute(Object)
Defines the method that determines whether the command can execute in its current state.
(Inherited from ICommand.)
Public methodExecute
Defines the method to be called when the command is invoked.
(Inherited from ICommand.)
Public methodExecuteAsync()
Executes the AsyncRelayCommand asynchronously.
Public methodExecuteAsync(Object)
Asynchronously executes the AsyncRelayCommand on the current command target.
Public methodExecuteAsync(CancellationToken)
Executes the AsyncRelayCommand asynchronously.
Public methodExecuteAsync(Object, CancellationToken)
Asynchronously executes the AsyncRelayCommand on the current command target.
Public methodInvalidateCommand
Raises the event of this particular command only.
Top
Events
  NameDescription
Public eventCanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
(Inherited from ICommand.)
Top
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md