Exemplo n.º 1
0
        public void Compute(char @operator, int operand)
        {
            var command = new CalculatorCommand(calculator, @operator, operand);
            command.Execute();

            commands.Add(command);
            current++;
        }
Exemplo n.º 2
0
        public void Compute(char @operator, int operand)
        {
            var command = new CalculatorCommand(calculator, @operator, operand);

            command.Execute();

            commands.Add(command);
            current++;
        }