Skip to main content
A newer version of this page is available. .

AsyncCommand<T> Constructors

An asynchronous command whose Execute(T) and CanExecute(T) delegates accept a command parameter of the T type.
Name Parameters Description
AsyncCommand(Func<T, CancellationToken, Task>, Func<T, Boolean>, Boolean) execute, canExecute, allowMultipleExecution Initializes a new instance of the AsyncCommand<T> class with specified settings.
AsyncCommand(Func<T, Task>, Func<T, Boolean>, Boolean) execute, canExecute, allowMultipleExecution Initializes a new instance of the AsyncCommand<T> class with specified settings.
See Also