public CreateUserAuthorizationHandler(IUserAuthorizationRepository repository, IBusPublisher busPublisher, IAccountingGroupVerifier agVerifier, IUserVerifier userVerifier) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _agVerifier = agVerifier ?? throw new ArgumentNullException(nameof(agVerifier)); _userVerifier = userVerifier ?? throw new ArgumentNullException(nameof(userVerifier)); }
public UserController(IUserRepository _userRepository, IRatingRepository _ratingRepository, IValidator _validator, IPasswordHasher _passwordHasher, ICounterRepository _counterRepository, IPersistentLoginHandler _loginHandler, ITimedTrainingScoreRepository _timedTrainingScoreRepository, IUserVerifier _userVerifier, IEmailSender _emailSender, IGameRepository _gameRepository, IOptions <Settings> settings) : base(_userRepository, _loginHandler) { userRepository = _userRepository; ratingRepository = _ratingRepository; validator = _validator; passwordHasher = _passwordHasher; counterRepository = _counterRepository; loginHandler = _loginHandler; timedTrainingScoreRepository = _timedTrainingScoreRepository; userVerifier = _userVerifier; emailSender = _emailSender; gameRepository = _gameRepository; recaptchaKey = settings.Value.RecaptchaKey; requireEmailVerification = settings.Value.Email.RequireEmailVerification; }
public CreateManualStockOperationHandler(IStockOperationRepository repository, IBusPublisher busPublisher, IStockItemVerifier stockItemVerifier, IUserVerifier userVerifier) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _stockItemVerifier = stockItemVerifier ?? throw new ArgumentNullException(nameof(stockItemVerifier)); _userVerifier = userVerifier ?? throw new ArgumentNullException(nameof(userVerifier)); }
public UpdateSaleStateChangeHandler(ISalesRepository salesRepository, IBusPublisher busPublisher, IPointOfSaleVerifier posVerifier, IUserVerifier userVerifier) { _salesRepository = salesRepository ?? throw new ArgumentNullException(nameof(salesRepository)); _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _posVerifier = posVerifier ?? throw new ArgumentNullException(nameof(posVerifier)); _userVerifier = userVerifier ?? throw new ArgumentNullException(nameof(userVerifier)); }
public CreateAssignmentToUserHandler(IAssignmentsRepository repository, IBusPublisher busPublisher, IAuthenticationMeansVerifier meansVerifier, IUserVerifier userVerifier, IAssignmentExclusivityVerifier exclVerifier) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _meansVerifier = meansVerifier ?? throw new ArgumentNullException(nameof(meansVerifier)); _userVerifier = userVerifier ?? throw new ArgumentNullException(nameof(userVerifier)); _exclVerifier = exclVerifier ?? throw new ArgumentNullException(nameof(exclVerifier)); }
public CreateSaleHandler(ISalesRepository salesRepository, IBusPublisher busPublisher, IAccountingGroupVerifier agVerifier, IUserVerifier userVerifier, IPointOfSaleVerifier posVerifier, IAuthenticationMeansVerifier amVerifier, IProductVerifier productVerifier, IOfferVerifier offerVerifier) { _salesRepository = salesRepository ?? throw new ArgumentNullException(nameof(salesRepository)); _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _agVerifier = agVerifier ?? throw new ArgumentNullException(nameof(agVerifier)); _userVerifier = userVerifier ?? throw new ArgumentNullException(nameof(userVerifier)); _posVerifier = posVerifier ?? throw new ArgumentNullException(nameof(posVerifier)); _amVerifier = amVerifier ?? throw new ArgumentNullException(nameof(amVerifier)); _productVerifier = productVerifier ?? throw new ArgumentNullException(nameof(productVerifier)); _offerVerifier = offerVerifier ?? throw new ArgumentNullException(nameof(offerVerifier)); }
public UserController(IUserRepository _userRepository, IRatingRepository _ratingRepository, IValidator _validator, IPasswordHasher _passwordHasher, ICounterRepository _counterRepository, IPersistentLoginHandler _loginHandler, ITimedTrainingScoreRepository _timedTrainingScoreRepository, IUserVerifier _userVerifier, IEmailSender _emailSender) : base(_userRepository, _loginHandler) { userRepository = _userRepository; ratingRepository = _ratingRepository; validator = _validator; passwordHasher = _passwordHasher; counterRepository = _counterRepository; loginHandler = _loginHandler; timedTrainingScoreRepository = _timedTrainingScoreRepository; userVerifier = _userVerifier; emailSender = _emailSender; }
public UpdatePaymentHandler(IPaymentsRepository paymentsRepository, IBusPublisher busPublisher, IUserVerifier userVerifier) { _paymentsRepository = paymentsRepository ?? throw new ArgumentNullException(nameof(paymentsRepository)); _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _userVerifier = userVerifier ?? throw new ArgumentNullException(nameof(userVerifier)); }
public ToDoApplication(IUserVerifier userVerifier, IToDoListCreator toDoListCreator, IToDoListRepository toDoListRepository) { this.userVerifier = userVerifier; this.toDoListCreator = toDoListCreator; this.toDoListRepository = toDoListRepository; }