コード例 #1
0
 public DivisionController(
     ICalculatorServiceFinder calculatorServiceFinder,
     ICalculatorHttpClient httpClient)
 {
     this.calculatorServiceFinder = calculatorServiceFinder;
     this.httpClient = httpClient;
 }
コード例 #2
0
 public MultiplicationController(
     ICalculatorServiceFinder calculatorServiceFinder,
     ICalculatorHttpClient httpClient,
     ILogger <MultiplicationController> logger)
 {
     this.calculatorServiceFinder = calculatorServiceFinder;
     this.httpClient = httpClient;
     this.logger     = logger;
 }
コード例 #3
0
 public ChecksOperationIsAvailableController(ICalculatorServiceFinder calculatorServiceFinder)
 {
     this.calculatorServiceFinder = calculatorServiceFinder;
 }
コード例 #4
0
 public CalculatorService(ICalculatorServiceFinder calculatorServiceFinder,
                          ICalculatorHttpClient httpClient)
 {
     this.calculatorServiceFinder = calculatorServiceFinder;
     this.httpClient = httpClient;
 }