protected AsdAppService(IAsdBus bus, IMapper mapper) { _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public AsdCommandHandler(IAsdUnitOfWork unitOfWork, IAsdBus bus, IAsdDomainNotificationHandler <AsdDomainNotification> notifications) { _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _notifications = notifications ?? throw new ArgumentNullException(nameof(notifications)); }