Method Execute
Execute(object)
Determines whether this AsyncRelayCommand<T> can execute in its current state.
Declaration
public void Execute(object parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| object | parameter | The parameter to use when determining whether the command can execute. |
Implements
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | ExecuteAsync(T?) has not been called. |
Execute(T?)
Executes the AsyncRelayCommand<T> synchronously on the current thread.
Declaration
public void Execute(T? parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| T | parameter | The parameter to use when executing the command. |