예제 #1
0
        public RequeueAtStartup(IConfiguration configuration
                                , IBackgroundTaskLocalIntegrationEventService backgroundTaskLocalIntegrationEventService

                                )
        {
            _taskConfig = configuration.GetSection("Task_RequeueAtStartup").Get <BackgroundServiceConfiguration>();
            _backgroundTaskLocalIntegrationEventService = backgroundTaskLocalIntegrationEventService;
        }
예제 #2
0
 public EventPublisher(IConfiguration configuration
                       , IBackgroundTaskLocalIntegrationEventService backgroundTaskLocalIntegrationEventService
                       , INServiceBusEndpoint nServiceBusEndpoint)
 {
     _taskConfig = configuration.GetSection("Task_EventPublisher").Get <BackgroundServiceConfiguration>();
     _backgroundTaskLocalIntegrationEventService = backgroundTaskLocalIntegrationEventService;
     _endpoint = nServiceBusEndpoint;
 }