public Sub(ArithmeticUnit unit, int operand) { this.unit = unit; this.operand = operand; }
public Div(ArithmeticUnit unit, int operand) { this.unit = unit; this.operand = operand; }
public Sub(ArithmeticUnit aUnit, int operand) { this.operand = operand; this.aUnit = aUnit; }
public Or(ArithmeticUnit arithmeticUnit, int operand) { this.arithmeticUnit = arithmeticUnit; this.operand = operand; }
public Addition(ArithmeticUnit unit, int operand) { this.ArithmeticUnit = unit; this.Operand = operand; }
public Calculator() { _arithmeticUnit = new ArithmeticUnit(); _controlUnit = new ControlUnit(); }
public Substract(ArithmeticUnit unit, int operand) { this.ArithmeticUnit = unit; this.Operand = operand; }
public Calculator() { _invoker = new ControlUnit(); _receiver = new ArithmeticUnit(); }
public Add(ArithmeticUnit unit, double operand) { Unit = unit; Operand = operand; }
public Multiply(ArithmeticUnit unit, double operand) { Unit = unit; Operand = operand; }
public Div(ArithmeticUnit receiver, double operand) : base(receiver, operand) { }
public Command(ArithmeticUnit receiver, double operand) { _receiver = receiver; _operand = operand; }
public Multiplication(ArithmeticUnit unit, int operand) { this.ArithmeticUnit = unit; this.Operand = operand; }