public RequeueAtStartup(IConfiguration configuration
                                , IIntegrationEventLogRepository integrationEventLogRepository

                                )
        {
            _taskConfig = configuration.GetSection("Task_RequeueAtStartup").Get <BackgroundTaskConfiguration>();
            _integrationEventLogRepository = integrationEventLogRepository;
        }
Example #2
0
 public EventPublisher(IConfiguration configuration
                       , IIntegrationEventLogRepository integrationEventLogRepository
                       , IServiceBusEndpoint nServiceBusEndpoint)
 {
     _taskConfig = configuration.GetSection("Task_EventPublisher").Get <BackgroundTaskConfiguration>();
     _integrationEventLogRepository = integrationEventLogRepository;
     _endpoint = nServiceBusEndpoint;
 }