Click or drag to resize

AsyncRelayCommandTParamExecuteAsync Method (TParam)

Executes the AsyncRelayCommand on the current command target asynchronously.

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 Task ExecuteAsync(
	TParam parameter
)

Parameters

parameter
Type: TParam
Data used by the command. If the command does not require data to be passed, this object can be set to null.

Return Value

Type: Task

[Missing <returns> documentation for "M:BionicCode.Utilities.Net.Core.Wpf.Generic.AsyncRelayCommand`1.ExecuteAsync(`0)"]

Implements

IAsyncRelayCommandTParamExecuteAsync(TParam)
Remarks
If the execute delegate is asynchronous (awaitable) then the execution is asynchronous otherwise the synchronous execute delegate is wrapped into an asynchronous call. This method is always awaitable and all handlers are always asynchronously executed.
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md