Interface IAsyncRelayCommand<T>
- Namespace
- CommunityToolkit.Mvvm.Input
- Assembly
- CommunityToolkit.Mvvm.dll
A generic interface representing a more specific version of IAsyncRelayCommand.
public interface IAsyncRelayCommand<in T> : IAsyncRelayCommand, INotifyPropertyChanged, IRelayCommand<T>, IRelayCommand, ICommand
Type Parameters
T
The type used as argument for the interface methods.
- Inherited Members
- Extension Methods
Remarks
This interface is needed to solve the diamond problem with base classes.
Methods
ExecuteAsync(T?)
Provides a strongly-typed variant of ExecuteAsync(object?).
Task ExecuteAsync(T? parameter)
Parameters
parameter
TThe input parameter.