コード例 #1
0
 public PasswordService(IUserRepository userRepository,
                        IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                        IEncrypter encrypter)
 {
     _userRepository = userRepository.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
     _encrypter = encrypter.CheckIfNotEmpty();
 }
コード例 #2
0
 public ResetPasswordInitiatedDomainEventHandler(ILogger <ResetPasswordInitiatedDomainEventHandler> logger,
                                                 IMassTransitBusService massTransitBusService,
                                                 IOneTimeSecuredOperationService oneTimeSecuredOperationService)
 {
     _logger = logger.CheckIfNotEmpty();
     _massTransitBusService          = massTransitBusService.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
 }
コード例 #3
0
 public UserService(IUserRepository userRepository,
                    IEncrypter encrypter,
                    IOneTimeSecuredOperationService securedOperationService)
 {
     _userRepository          = userRepository.CheckIfNotEmpty();
     _encrypter               = encrypter.CheckIfNotEmpty();
     _securedOperationService = securedOperationService.CheckIfNotEmpty();
 }
 public SendActivationMessageCommandHandler(IHandler handler,
                                            IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                                            IMediatRBus mediatRBus, AppOptions appOptions)
 {
     _handler = handler.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
     _mediatRBus = mediatRBus.CheckIfNotEmpty();
     _appOptions = appOptions.CheckIfNotEmpty();
 }