public ChangePasswordCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                                     IPasswordService passwordService)
 {
     _handler         = handler.CheckIfNotEmpty();
     _mediatRBus      = mediatRBus.CheckIfNotEmpty();
     _passwordService = passwordService.CheckIfNotEmpty();
 }
 public ActivateAccountCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                                      IUserService userService)
 {
     _handler     = handler.CheckIfNotEmpty();
     _mediatRBus  = mediatRBus.CheckIfNotEmpty();
     _userService = userService.CheckIfNotEmpty();
 }
コード例 #3
0
 public DisableTwoFactorAuthenticationCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                                                     IUserService userService)
 {
     _handler     = handler.CheckIfNotEmpty();
     _mediatRBus  = mediatRBus.CheckIfNotEmpty();
     _userService = userService.CheckIfNotEmpty();
 }
 public SignUpCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                             IUserService userService)
 {
     _handler     = handler.CheckIfNotEmpty();
     _mediatRBus  = mediatRBus.CheckIfNotEmpty();
     _userService = userService.CheckIfNotEmpty();
 }
 public SignedUpDomainEventHandler(ILogger <SignedUpDomainEventHandler> logger,
                                   IMassTransitBusService massTransitBusService, IMediatRBus mediatRBus)
 {
     _logger = logger.CheckIfNotEmpty();
     _massTransitBusService = massTransitBusService.CheckIfNotEmpty();
     _mediatRBus            = mediatRBus.CheckIfNotEmpty();
 }
コード例 #6
0
 public SignOutCommandHandler(IHandler handler,
                              IMediatRBus mediatRBus, IAuthenticationService authenticationService)
 {
     _handler               = handler.CheckIfNotEmpty();
     _mediatRBus            = mediatRBus.CheckIfNotEmpty();
     _authenticationService = authenticationService.CheckIfNotEmpty();
 }
コード例 #7
0
 public BaseController(IMediatRBus mediatRBus,
                       IAuthenticationService authenticationService, AppOptions settings)
 {
     _mediatRBus            = mediatRBus.CheckIfNotEmpty();
     _authenticationService = authenticationService.CheckIfNotEmpty();
     _settings = settings.CheckIfNotEmpty();
 }
 public UploadAvatarCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                                   IAvatarService avatarService, IFileResolver fileResolver)
 {
     _handler       = handler.CheckIfNotEmpty();
     _mediatRBus    = mediatRBus.CheckIfNotEmpty();
     _avatarService = avatarService.CheckIfNotEmpty();
     _fileResolver  = fileResolver.CheckIfNotEmpty();
 }
 public SendActivationMessageCommandHandler(IHandler handler,
                                            IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                                            IMediatRBus mediatRBus, AppOptions appOptions)
 {
     _handler = handler.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
     _mediatRBus = mediatRBus.CheckIfNotEmpty();
     _appOptions = appOptions.CheckIfNotEmpty();
 }
コード例 #10
0
 public RemoveAvatarCommandHandler(IHandler handler, IMediatRBus mediatRBus, IAvatarService avatarService)
 {
     _handler       = handler.CheckIfNotEmpty();
     _mediatRBus    = mediatRBus.CheckIfNotEmpty();
     _avatarService = avatarService.CheckIfNotEmpty();
 }