Beispiel #1
0
 public Calculator(double firstOperand, string operatorValue, double secondOperand, ICalculatorsService calculatorsService)
 {
     this.FirstOperand       = firstOperand;
     this.OperatorValue      = operatorValue;
     this.SecondOperand      = secondOperand;
     this.calculatorsService = calculatorsService;
 }
 public HomeController(ILogger <HomeController> logger, ICalculatorsService calculatorsService)
 {
     _logger = logger;
     this.calculatorsService = calculatorsService;
 }
Beispiel #3
0
 public CalculatorsController(ICalculatorsService calculatorsService)
 {
     this.calculatorsService = calculatorsService;
 }