示例#1
0
 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));
 }