My question is related to the command pattern, where we have the following abstraction (C# code) :
public interface ICommand { void Execute(); } <
public interface ICommand { void Execute(); }
In the constructor and stored as fields.
You will also want to eventually make your ICommands serializable for the undo stack or file persistence.