コード例 #1
0
        public void ExecuteOperation(char operator_, int value)
        {
            ICommand comando = new MathematicalOperation(_calculator, operator_, value);
            comando.Execute();

            _commands.Add(comando);
            _current++;
        }
コード例 #2
0
        public void ExecuteOperation(char operator_, int value)
        {
            ICommand comando = new MathematicalOperation(_calculator, operator_, value);

            comando.Execute();

            _commands.Add(comando);
            _current++;
        }