Ejemplo n.º 1
0
 public void SetText(string text)
 {
     _history.AddAndExecuteCommand(new ReplaceTextCommand(_text, text));
 }
Ejemplo n.º 2
0
 public void DeleteItem(int index)
 {
     _history.AddAndExecuteCommand(new DeleteItemCommand(_items, index));
 }