Property | Type | Description |
---|
Method | Description | |
---|---|---|
AsyncDelegateCommand ( Func |
Initializes a new instance of the AsyncDelegateCommand class.
|
|
AsyncDelegateCommand ( Func |
Initializes a new instance of the AsyncDelegateCommand class.
|
|
AsyncDelegateCommand ( Task>.Func |
Initializes a new instance of the AsyncDelegateCommand class.
|
|
AsyncDelegateCommand ( Task>.Func |
Initializes a new instance of the AsyncDelegateCommand class.
|
|
CanExecute ( object parameter ) : bool |
Defines the method that determines whether the command can execute in its current state.
|
|
Execute ( object parameter ) : void |
Defines the method to be called when the command is invoked.
|
|
RaiseCanExecuteChanged ( ) : void |
Raises the CanExecuteChanged event.
|
Method | Description | |
---|---|---|
OnCanExecuteChanged ( EventArgs e ) : void |
Raises the CanExecuteChanged event.
|
public AsyncDelegateCommand ( Func |
||
execute | Func |
Async Delegate to execute when Execute is called on the command. |
return | System.Threading.Tasks |
public AsyncDelegateCommand ( Func |
||
execute | Func |
Async Delegate to execute when Execute is called on the command. |
canExecute | Func |
Delegate to execute when CanExecute is called on the command. |
return | System.Threading.Tasks |
public AsyncDelegateCommand ( Task>.Func |
||
execute | Task>.Func | Async Delegate to execute when Execute is called on the command. |
return | System.Threading.Tasks |
public AsyncDelegateCommand ( Task>.Func |
||
execute | Task>.Func | Async Delegate to execute when Execute is called on the command. |
canExecute | bool>.Func | Delegate to execute when CanExecute is called on the command. |
return | System.Threading.Tasks |
public CanExecute ( object parameter ) : bool | ||
parameter | object | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
return | bool |
public Execute ( object parameter ) : void | ||
parameter | object | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
return | void |
protected OnCanExecuteChanged ( EventArgs e ) : void | ||
e | EventArgs | The |
return | void |