Defines a command.
More...
Inherits IDisposable.
|
virtual bool | get_CanExecute ()=0 |
| Defines the operator that determines whether the command can execute in its current state. More...
|
|
virtual System::SharedPtr< ICommand > | Execute ()=0 |
| Defines the method to be called when the command is invoked. More...
|
|
|
System::EventHandler | CanExecuteChanged |
| Occurs when changes occur that affect whether or not the command should execute. More...
|
|
◆ Execute()
virtual System::SharedPtr<ICommand> Aspose::Email::Clients::ICommand::Execute |
( |
| ) |
|
|
pure virtual |
Defines the method to be called when the command is invoked.
- Returns
- Returns next command to execute. By default returns itself.
◆ get_CanExecute()
virtual bool Aspose::Email::Clients::ICommand::get_CanExecute |
( |
| ) |
|
|
pure virtual |
Defines the operator that determines whether the command can execute in its current state.
◆ CanExecuteChanged
System::EventHandler Aspose::Email::Clients::ICommand::CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.