Метод | Описание | |
---|---|---|
AsyncCommand ( Func execute, Func canExecute = null, Action onException = null, bool continueOnCapturedContext = true ) : System |
Initializes a new instance of the T:TaskExtensions.MVVM.AsyncCommand`1 class.
|
public AsyncCommand ( Func execute, Func canExecute = null, Action onException = null, bool continueOnCapturedContext = true ) : System | ||
execute | Func | The Function executed when Execute or ExecuteAysnc is called. This does not check canExecute before executing and will execute even if canExecute is false |
canExecute | Func | The Function that verifies whether or not AsyncCommand should execute. |
onException | Action | If an exception is thrown in the Task, |
continueOnCapturedContext | bool | If set to |
Результат | System |