public ConfirmationService( IUserRepository userRepository, IMailer mailer, IValidationRequestsRepository validationRequestsRepository, IEventSink userManagementEventSink, ConfirmationSettings confirmationSettings, IGitlabUserRegistrar gitlabUserRegistrar, IRedmineUserRegistrar redmineUserRegistrar) { Require.NotNull(userRepository, nameof(userRepository)); Require.NotNull(mailer, nameof(mailer)); Require.NotNull(validationRequestsRepository, nameof(validationRequestsRepository)); Require.NotNull(userManagementEventSink, nameof(userManagementEventSink)); Require.NotNull(confirmationSettings, nameof(confirmationSettings)); Require.NotNull(gitlabUserRegistrar, nameof(gitlabUserRegistrar)); Require.NotNull(redmineUserRegistrar, nameof(redmineUserRegistrar)); _userRepository = userRepository; _mailer = mailer; _validationRequestsRepository = validationRequestsRepository; _userManagementEventSink = userManagementEventSink; _confirmationSettings = confirmationSettings; _gitlabUserRegistrar = gitlabUserRegistrar; _redmineUserRegistrar = redmineUserRegistrar; }
public UserManager( IUserRepository userRepository, IConfirmationService confirmationService, PaginationSettings paginationSettings, IProjectMembershipRepostiory projectMembershipRepostiory, IMailer mailer, ApplicationLocationSettings applicationLocationSettings, IPasswordManager passwordManager, IEventBus eventBus) { Require.NotNull(userRepository, nameof(userRepository)); Require.NotNull(confirmationService, nameof(confirmationService)); Require.NotNull(paginationSettings, nameof(paginationSettings)); Require.NotNull(projectMembershipRepostiory, nameof(projectMembershipRepostiory)); Require.NotNull(mailer, nameof(mailer)); Require.NotNull(applicationLocationSettings, nameof(applicationLocationSettings)); Require.NotNull(passwordManager, nameof(passwordManager)); Require.NotNull(eventBus, nameof(eventBus)); _userRepository = userRepository; _confirmationService = confirmationService; _paginationSettings = paginationSettings; _projectMembershipRepostiory = projectMembershipRepostiory; _mailer = mailer; _applicationLocationSettings = applicationLocationSettings; _passwordManager = passwordManager; _eventBus = eventBus; }
public UserManager( IUserRepository userRepository, IConfirmationService confirmationService, PaginationSettings paginationSettings, IProjectMembershipRepostiory projectMembershipRepostiory, IMailer mailer, ApplicationLocationSettings applicationLocationSettings, IPasswordManager passwordManager) { Require.NotNull(userRepository, nameof(userRepository)); Require.NotNull(confirmationService, nameof(confirmationService)); _userRepository = userRepository; _confirmationService = confirmationService; _paginationSettings = paginationSettings; _projectMembershipRepostiory = projectMembershipRepostiory; _mailer = mailer; _applicationLocationSettings = applicationLocationSettings; _passwordManager = passwordManager; }
public ConfirmationService( IUserRepository userRepository, IMailer mailer, IValidationRequestsRepository validationRequestsRepository, IEventSink userManagementEventSink, ConfirmationSettings confirmationSettings, IEventBus eventBus) { Require.NotNull(userRepository, nameof(userRepository)); Require.NotNull(mailer, nameof(mailer)); Require.NotNull(validationRequestsRepository, nameof(validationRequestsRepository)); Require.NotNull(userManagementEventSink, nameof(userManagementEventSink)); Require.NotNull(confirmationSettings, nameof(confirmationSettings)); _userRepository = userRepository; _mailer = mailer; _validationRequestsRepository = validationRequestsRepository; _userManagementEventSink = userManagementEventSink; _confirmationSettings = confirmationSettings; _eventBus = eventBus; }