Пример #1
0
 public OpenModule(IChestService chestService,
                   ICapsuleService capsuleService,
                   ISphereService sphereService)
 {
     this.chestService = chestService;
     this.capsuleService = capsuleService;
     this.sphereService = sphereService;
 }
Пример #2
0
 public DeliveryController(IDeliveryService deliveryService, ICapsuleService capsuleService)
 {
     _deliveryService = deliveryService ?? throw new ArgumentNullException(nameof(deliveryService));
     _capsuleService  = capsuleService ?? throw new ArgumentNullException(nameof(capsuleService));
 }
Пример #3
0
 public CapsuleSummaryViewComponent(ICapsuleService capsuleService)
 => _capsuleService = capsuleService;
Пример #4
0
 public CapsuleController(IMessageService messageService, ICapsuleService capsuleService)
 {
     _messageService = messageService ?? throw new ArgumentNullException(nameof(messageService));
     _capsuleService = capsuleService ?? throw new ArgumentNullException(nameof(capsuleService));
 }