// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
namespace CommunityToolkit.Mvvm.Input;
///
/// A generic interface representing a more specific version of .
///
/// The type used as argument for the interface methods.
/// This interface is needed to solve the diamond problem with base classes.
public interface IAsyncRelayCommand : IAsyncRelayCommand, IRelayCommand
{
///
/// Provides a strongly-typed variant of .
///
/// The input parameter.
/// The representing the async operation being executed.
Task ExecuteAsync(T? parameter);
}