예제 #1
0
 public BooksController()
 {
     _commandPublisher = InjectContainer.GetInstance <ICommandPublisher>();
     _reportDatabase   = InjectContainer.GetInstance <IInventoryReportDataAccessor>();
 }
 public BookInventoryOutStoredEventHandler(IInventoryReportDataAccessor reportDataAccessor, ICommandTracker commandTracker)
 {
     _reportDataAccessor = reportDataAccessor;
     _commandTracker     = commandTracker;
 }
예제 #3
0
 public BookNameChangedEventHandler(IInventoryReportDataAccessor reportDataAccessor)
 {
     _reportDataAccessor = reportDataAccessor;
 }
예제 #4
0
 public RentBookRequestAcceptedEventHandler(IInventoryReportDataAccessor reportDataAccessor, ICommandTracker commandTracker, ILogger logger, IDomainRepository domainRepository, IEventPublisher eventPublisher) : base(reportDataAccessor, commandTracker, logger, domainRepository, eventPublisher)
 {
 }