Example #1
0
 public int Run(CalcCommand command)
 {
     m_Control.StoreCommand(command);
     m_Control.ExecuteCommand();
     return(m_Arithmetic.Register);
 }
Example #2
0
 public void StoreCommand(CalcCommand command)
 {
     m_Commands.Add(command);
 }