示例#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);
 }