public UserValidator(IRouterInput routerInput, IUserReader userReader) { _routerInput = routerInput ?? throw new ArgumentNullException(nameof(routerInput)); _userReader = userReader ?? throw new ArgumentNullException(nameof(userReader)); }
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)); }