PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model.​Controls Namespace / Undo­Redo­Command­Base Class / Undo­Redo­Command­Base Methods

UndoRedoCommandBase Methods

The UndoRedoCommandBase type exposes the following members.

Public methodCanExecute
Defines the method that determines whether the command can execute in its current state.
Public methodExecute
Defines the method to be called when the command is invoked.
See Also