Method | Description | |
---|---|---|
Add ( int lhs, int rhs ) : int | ||
Calculator ( ICalculatorAdd add, ICalculatorSub sub, ICalculatorMul mul, ICalculatorDiv div ) : System | ||
Div ( int lhs, int rhs ) : int | ||
Mul ( int lhs, int rhs ) : int | ||
Run ( ) : void | ||
Sub ( int lhs, int rhs ) : int |
public Calculator ( ICalculatorAdd add, ICalculatorSub sub, ICalculatorMul mul, ICalculatorDiv div ) : System | ||
add | ICalculatorAdd | |
sub | ICalculatorSub | |
mul | ICalculatorMul | |
div | ICalculatorDiv | |
return | System |