Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public PostCommitEventPublisher(IPublisherWrapper eventBus, IPostCommitRegistrator registrator)
 {
     this.eventBus    = eventBus;
     this.registrator = registrator;
 }