Share via


IAsyncValueCommand<T> Interface

Definition

An Async implementation of ICommand for ValueTask

public interface IAsyncValueCommand<in T> : System.Windows.Input.ICommand

Type Parameters

T
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements
System.Windows.Input.ICommand

Properties

AllowsMultipleExecutions

Returns true if the Command allows simultaneous executions

IsExecuting

Returns true when the Command is currently executing. Returns false when the Command is not executing

Methods

ExecuteAsync(T)

Executes the Command as a ValueTask

RaiseCanExecuteChanged()

Raises the CanExecuteChanged event.

Applies to