Example #1
0
 public void Execute()
 {
     previousContent = document.Content;
     document.MakeBold();
     history.Push(command: this); // requires a new instance for each bold command that needs to be executed/unexecuted separetly
 }