public ActivateAccountCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                                      IUserService userService)
 {
     _handler     = handler.CheckIfNotEmpty();
     _mediatRBus  = mediatRBus.CheckIfNotEmpty();
     _userService = userService.CheckIfNotEmpty();
 }
 public ChangePasswordCommandHandler(IHandler handler, IMediatRBus mediatRBus,
                                     IPasswordService passwordService)
 {
     _handler         = handler.CheckIfNotEmpty();
     _mediatRBus      = mediatRBus.CheckIfNotEmpty();
     _passwordService = passwordService.CheckIfNotEmpty();
 }
Beispiel #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();
 }
Beispiel #6
0
 public SignOutCommandHandler(IHandler handler,
                              IMediatRBus mediatRBus, IAuthenticationService authenticationService)
 {
     _handler               = handler.CheckIfNotEmpty();
     _mediatRBus            = mediatRBus.CheckIfNotEmpty();
     _authenticationService = authenticationService.CheckIfNotEmpty();
 }
 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();
 }
Beispiel #10
0
 public AuthenticationController(IMediatRBus mediatRBus, IAuthenticationService authenticationService,
                                 AppOptions settings) : base(mediatRBus, authenticationService, settings)
 {
 }
Beispiel #11
0
 public RemoveAvatarCommandHandler(IHandler handler, IMediatRBus mediatRBus, IAvatarService avatarService)
 {
     _handler       = handler.CheckIfNotEmpty();
     _mediatRBus    = mediatRBus.CheckIfNotEmpty();
     _avatarService = avatarService.CheckIfNotEmpty();
 }