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