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