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