コード例 #1
0
ファイル: Program.cs プロジェクト: Iulian-Stan/DesignPatterns
 // 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;
 }