Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExecutionResultNotificationHandler"/> class.
 /// </summary>
 /// <param name="reportBus">Report bus.</param>
 /// <param name="logger">Logger.</param>
 public ExecutionResultNotificationHandler(
     IReportBus reportBus,
     ILogger <ExecutionResultNotificationHandler> logger)
 {
     this.reportBus = reportBus;
     this.logger    = logger;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PublisherBehavior{TCommand}"/> class.
 /// </summary>
 /// <param name="eventBus">Events bus.</param>
 /// <param name="reportBus">Signals bus.</param>
 /// <param name="integrationEventStore">Store of integration events.</param>
 public PublisherBehavior(IEventBus eventBus, IReportBus reportBus, IIntegrationEventStore integrationEventStore)
 {
     this.eventBus              = eventBus;
     this.reportBus             = reportBus;
     this.integrationEventStore = integrationEventStore;
 }