Beispiel #1
0
 // Constructor
 public CalculatorCommand(Calculator calculator,
     char @operator, int operand)
 {
     this._calculator = calculator;
     this._operator = @operator;
     this._operand = operand;
 }
Beispiel #2
0
 // Constructor
 public CalculatorCommand(Calculator calculator, char @operator, int operand)
 {
     this._calculator = calculator;
     this._operator   = @operator;
     this._operand    = operand;
 }