Example #1
0
 public UserValidator(IRouterInput routerInput, IUserReader userReader)
 {
     _routerInput = routerInput ?? throw new ArgumentNullException(nameof(routerInput));
     _userReader  = userReader ?? throw new ArgumentNullException(nameof(userReader));
 }
Example #2
0
 public InputCaseSwitch(IRouterInput routerInput, IEnumerable <IInputCase> inputCases)
 {
     _routerInput = routerInput ?? throw new ArgumentNullException(nameof(routerInput));
     _inputCases  = inputCases ?? throw new ArgumentNullException(nameof(inputCases));
 }
 public MessageValidator(IRouterInput routerInput)
 {
     _routerInput = routerInput ?? throw new ArgumentNullException(nameof(routerInput));
 }