Class AlreadyExecutedCommand
Wraps a command that has already been executed, skipping the initial Execute call. Used when an action was performed through UI and we just need to track it for undo/redo.
public class AlreadyExecutedCommand : IGraphCommand
- Inheritance
-
AlreadyExecutedCommand
- Implements
- Inherited Members
Constructors
AlreadyExecutedCommand(IGraphCommand)
public AlreadyExecutedCommand(IGraphCommand innerCommand)
Parameters
innerCommandIGraphCommand
Properties
Description
Gets a human-readable description of the command.
public string Description { get; }
Property Value
Methods
Execute()
Executes the command.
public void Execute()
Undo()
Reverses the command (undo).
public void Undo()