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