Esempio n. 1
0
 public void ExecuteCommand(OrderCommand command, MenuItem item)
 {
     command.Execute(this.currentItems, item);
 }
Esempio n. 2
0
 public void SetCommand(int commandOption)
 {
     _orderCommand = new CommandFactory().GetCommand(commandOption);
 }