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

UndoCommand Methods

The UndoCommand type exposes the following members.

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