コード例 #1
0
 public EventPublisher(IConfiguration configuration
                       , IBackgroundTaskLocalIntegrationEventService backgroundTaskLocalIntegrationEventService
                       , INServiceBusEndpoint nServiceBusEndpoint)
 {
     _taskConfig = configuration.GetSection("Task_EventPublisher").Get <BackgroundServiceConfiguration>();
     _backgroundTaskLocalIntegrationEventService = backgroundTaskLocalIntegrationEventService;
     _endpoint = nServiceBusEndpoint;
 }
コード例 #2
0
 public ChangeStatusOrderAlterationCommandHandler(IOrderAlterationRepository orderAlterationRepository,
                                                  INServiceBusEndpoint endpoint,
                                                  ILocalIntegrationEventRepository localIntegrationEventRepository)
 {
     _orderAlterationRepository       = orderAlterationRepository;
     _localIntegrationEventRepository = localIntegrationEventRepository;
     _endpoint = endpoint;
 }