Example #1
0
 public AddFileCommandHandler(
     IFileRepository fileRepository,
     IFileStorage fileStorage,
     IPublisherWrapper eventBus,
     IPostCommitRegistrator registrator,
     ICurrentUserSource currentUserSource)
 {
     this.fileRepository    = fileRepository;
     this.fileStorage       = fileStorage;
     this.eventBus          = eventBus;
     this.registrator       = registrator;
     this.currentUserSource = currentUserSource;
 }
 public AuthenticationService(
     IUserManager userManager,
     ISignInManager signInManager,
     ITokenService tokenService,
     IPublisherWrapper eventBus,
     ILogger <AuthenticationService> logger,
     IEmailConfirmationSender emailConfirmationService)
 {
     this.userManager              = userManager;
     this.signInManager            = signInManager;
     this.tokenService             = tokenService;
     this.eventBus                 = eventBus;
     this.logger                   = logger;
     this.emailConfirmationService = emailConfirmationService;
 }
Example #3
0
 public PostCommitEventPublisher(IPublisherWrapper eventBus, IPostCommitRegistrator registrator)
 {
     this.eventBus    = eventBus;
     this.registrator = registrator;
 }