Click or drag to resize

AsyncRelayCommandTParam Constructor (FuncTParam, Task, PredicateTParam)

Creates a new asynchronous command.

Namespace:  BionicCode.Utilities.Net.Core.Wpf.Generic
Assembly:  BionicCode.Utilities.Net.Core.Wpf (in BionicCode.Utilities.Net.Core.Wpf.dll) Version: 1.0.2
Syntax
public AsyncRelayCommand(
	Func<TParam, Task> executeAsync,
	Predicate<TParam> canExecute
)

Parameters

executeAsync
Type: SystemFuncTParam, Task
The awaitable execution handler.
canExecute
Type: SystemPredicateTParam
The can execute handler.
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md