Method CanExecute
CanExecute(object?)
Determines whether this AsyncRelayCommand can execute in its current state.
Declaration
public bool CanExecute(object? parameter)
Parameters
Type | Name | Description |
---|---|---|
object | parameter | The parameter to use when determining whether this AsyncRelayCommand can execute. |
Returns
Type | Description |
---|---|
bool | true if this AsyncRelayCommand can execute; otherwise, false. |
Implements
CanExecute()
Determines whether this AsyncRelayCommand can execute in its current state.
Declaration
public bool CanExecute()
Returns
Type | Description |
---|---|
bool | true if this AsyncRelayCommand can execute; otherwise, false. |