Interface IAsyncRelayCommand<T>
A generic interface representing a more specific version of IAsyncRelayCommand.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: Unity.AppUI.MVVM.dll
Syntax
public interface IAsyncRelayCommand<in T> : IAsyncRelayCommand, INotifyPropertyChanged, IRelayCommand<T>, IRelayCommand, ICommand
Type Parameters
Name | Description |
---|---|
T | The type used as argument for the interface methods. |
Methods
ExecuteAsync(T?)
Provides a strongly-typed variant of ExecuteAsync(object?).
Declaration
Task ExecuteAsync(T? parameter)
Parameters
Type | Name | Description |
---|---|---|
T | parameter | The input parameter. |
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |