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