public AmazonEchoController(ControllerMessageDispatcher messageDispatcher, SecurityService securityService) { _messageDispatcher = messageDispatcher ?? throw new ArgumentNullException(nameof(messageDispatcher)); _securityService = securityService ?? throw new ArgumentNullException(nameof(securityService)); }
public ControllerProxyController(SecurityService securityService, ControllerMessageDispatcher messageDispatcher) { _securityService = securityService ?? throw new ArgumentNullException(nameof(securityService)); _messageDispatcher = messageDispatcher ?? throw new ArgumentNullException(nameof(messageDispatcher)); }