IAsyncValueCommand<TExecute,TCanExecute> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An Async implementation of ICommand for ValueTask
public interface IAsyncValueCommand<in TExecute,in TCanExecute> : System.Windows.Input.ICommand, Xamarin.CommunityToolkit.ObjectModel.IAsyncValueCommand<in TExecute>
Type Parameters
- TExecute
- TCanExecute
- Derived
- Implements
-
System.Windows.Input.ICommand IAsyncValueCommand<TExecute>
Properties
| AllowsMultipleExecutions |
Returns true if the Command allows simultaneous executions (Inherited from IAsyncValueCommand<T>) |
| IsExecuting |
Returns true when the Command is currently executing. Returns false when the Command is not executing (Inherited from IAsyncValueCommand<T>) |
Methods
| CanExecute(TCanExecute) |
Determines whether the command can execute in its current state |
| ExecuteAsync(T) |
Executes the Command as a ValueTask (Inherited from IAsyncValueCommand<T>) |
| RaiseCanExecuteChanged() |
Raises the CanExecuteChanged event. (Inherited from IAsyncValueCommand<T>) |