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