AsyncDelegateCommandT(FuncT, Task, FuncT, Boolean) Constructor
Class constructor.
Namespace: Aliquo.Windows.BaseAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public AsyncDelegateCommand(
Func<T, Task> execute,
Func<T, bool> canExecute
)
Public Sub New (
execute As Func(Of T, Task),
canExecute As Func(Of T, Boolean)
)
Parameters
- execute FuncT, Task
- Function to be executed by the command.
- canExecute FuncT, Boolean
- Function that determines whether the command can be executed.