コード例 #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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public PostCommitEventPublisher(IPublisherWrapper eventBus, IPostCommitRegistrator registrator)
 {
     this.eventBus    = eventBus;
     this.registrator = registrator;
 }