AsyncValueCommand Class
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 implementation of IAsyncValueCommand. Allows Commands to safely be used asynchronously with Task.
public class AsyncValueCommand : Xamarin.CommunityToolkit.ObjectModel.Internals.BaseAsyncValueCommand<object,object>, System.Windows.Input.ICommand, Xamarin.CommunityToolkit.ObjectModel.IAsyncValueCommand
- Inheritance
-
System.ObjectAsyncValueCommand
- Implements
-
System.
Windows. IAsyncValueCommandInput. ICommand
Async |
Initializes a new instance of AsyncValueCommand |
Async |
Initializes a new instance of AsyncValueCommand |
Allows |
Returns true if the Command allows simultaneous executions (Inherited from BaseCommand<TCanExecute>) |
Execution |
(Inherited from BaseCommand<TCanExecute>) |
Is |
Returns true when the Command is currently executing. Returns false when the Command is not executing (Inherited from BaseCommand<TCanExecute>) |
Can |
Determines whether the command can execute in its current state (Inherited from BaseCommand<TCanExecute>) |
Change |
Raises the |
Execute |
Executes the Command as a ValueTask |
Raise |
Raises the |
Can |
Occurs when changes occur that affect whether or not the command should execute (Inherited from BaseCommand<TCanExecute>) |
ICommand. |
(Inherited from BaseAsyncValueCommand<TExecute,TCanExecute>) |
ICommand. |
(Inherited from BaseAsyncValueCommand<TExecute,TCanExecute>) |
מוצר | גירסאות |
---|---|
Xamarin Community Toolkit | Latest |