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