System.Waf.Applications.AsyncDelegateCommand.AsyncDelegateCommand C# (CSharp) Method

AsyncDelegateCommand() public method

Initializes a new instance of the AsyncDelegateCommand class.
The execute argument must not be null.
public AsyncDelegateCommand ( Func execute ) : System.Threading.Tasks
execute Func Async Delegate to execute when Execute is called on the command.
return System.Threading.Tasks
        public AsyncDelegateCommand(Func<Task> execute)
            : this(execute, null)
        { }

Same methods

AsyncDelegateCommand::AsyncDelegateCommand ( Func execute, Func canExecute ) : System.Threading.Tasks
AsyncDelegateCommand::AsyncDelegateCommand ( Task>.Func execute ) : System.Threading.Tasks
AsyncDelegateCommand::AsyncDelegateCommand ( Task>.Func execute, bool>.Func canExecute ) : System.Threading.Tasks