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