示例#1
0
 public ProductsController(ProductsApplicationContext applicationContext,
                           IIntegrationContextEventService integrationContextEventService,
                           IIntegrationEventLogService integrationEventLogService)
 {
     _applicationContext             = applicationContext;
     _integrationContextEventService = integrationContextEventService;
     _integrationEventLogService     = integrationEventLogService;
 }
示例#2
0
 public IntegrationContextEventService(
     ProductsApplicationContext dbContext,
     IIntegrationEventLogService integrationEventLogService,
     IEventBus eventBus,
     IntegrationEventLogContext integrationEventLogContext
     )
 {
     _dbContext = dbContext;
     _integrationEventLogService = integrationEventLogService;
     _eventBus = eventBus;
     _integrationEventLogContext = integrationEventLogContext;
 }