ICommand Interface

Defines a command.

Namespace:  Aspose.Email.Clients
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public interface ICommand : IDisposable

The ICommand type exposes the following members.

Properties
  NameDescription
Public propertyCanExecute
Defines the operator that determines whether the command can execute in its current state.
Methods
  NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodExecute
Defines the method to be called when the command is invoked.
Events
  NameDescription
Public eventCanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
See Also