AsyncValueCommand<T>
public class AsyncValueCommand<T> : BaseAsyncValueCommand<T, object>, IAsyncValueCommand<T>, ICommand
An implementation of IAsyncValueCommand. Allows Commands to safely be used asynchronously with Task.
public AsyncValueCommand(Func<T, ValueTask> execute, Func<object, bool> canExecute = null, Action<Exception> onException = null, bool continueOnCapturedContext = false, bool allowsMultipleExecutions = true)
Initializes a new instance of AsyncValueCommand
public AsyncValueCommand(Func<T, ValueTask> execute, Func<bool> canExecute, Action<Exception> onException = null, bool continueOnCapturedContext = false, bool allowsMultipleExecutions = true)
Initializes a new instance of AsyncValueCommand
Executes the Command as a ValueTask