using System.Windows.Input;
namespace WPFluent.Input;
///
/// A generic interface representing a more specific version of .
///
/// The type used as argument for the interface methods.
internal interface IRelayCommand : IRelayCommand
{
///
/// Provides a strongly-typed variant of .
///
/// The input parameter.
/// Whether or not the current command can be executed.
/// Use this overload to avoid boxing, if is a value type.
bool CanExecute(T? parameter);
///
/// Provides a strongly-typed variant of .
///
/// The input parameter.
/// Use this overload to avoid boxing, if is a value type.
void Execute(T? parameter);
}