Пример #1
0
 public TrolleyTotalController(ILogger <TrolleyTotalController> logger,
                               IMapper mapper,
                               ITrolleyCalculator TrolleyCalculator)
 {
     _logger            = logger;
     _mapper            = mapper;
     _TrolleyCalculator = TrolleyCalculator;
 }
Пример #2
0
 public TrolleyCalculatorServiceTests()
 {
     _trolleyCalculator = new TrolleyCalculatorService();
 }
Пример #3
0
 public TrolleyController(ITrolleyCalculator trolleyCalculator, ILogger <TrolleyController> logger)
 {
     this.trolleyCalculator = trolleyCalculator ?? throw new System.ArgumentNullException(nameof(trolleyCalculator));
     this.logger            = logger ?? throw new System.ArgumentNullException(nameof(logger));
 }
Пример #4
0
 public TrolleyCalculatorController(ITrolleyCalculator trolleyCalculator, ILogger logger)
 {
     _logger            = logger;
     _trolleyCalculator = trolleyCalculator;
 }
Пример #5
0
 public TrolleyTotalController(ITrolleyCalculator trolleyCalculator)
 {
     _trolleyCalculator = trolleyCalculator;
 }
Пример #6
0
 public TrolleyController(ITrolleyCalculator calculatorService)
 {
     _calculatorService = calculatorService;
 }