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