File tree Expand file tree Collapse file tree
src/Services/SagaManager/SagaManager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{
33 using Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Events ;
44
5- public interface ISagaManagingIntegrationEventService
5+ public interface ISagaManagerIntegrationEventService
66 {
77 void PublishThroughEventBus ( IntegrationEvent evt ) ;
88 }
Original file line number Diff line number Diff line change 44 using Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Events ;
55 using System ;
66
7- public class SagaManagingIntegrationEventService : ISagaManagingIntegrationEventService
7+ public class SagaManagerIntegrationEventService : ISagaManagerIntegrationEventService
88 {
99 private readonly IEventBus _eventBus ;
1010
11- public SagaManagingIntegrationEventService ( IEventBus eventBus )
11+ public SagaManagerIntegrationEventService ( IEventBus eventBus )
1212 {
1313 _eventBus = eventBus ?? throw new ArgumentNullException ( nameof ( eventBus ) ) ;
1414 }
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public static IServiceProvider ConfigureServices(IServiceCollection services)
5858 . AddOptions ( )
5959 . Configure < SagaManagerSettings > ( Configuration )
6060 . AddSingleton < ISagaManagerService , SagaManagerService > ( )
61- . AddSingleton < ISagaManagingIntegrationEventService , SagaManagingIntegrationEventService > ( )
61+ . AddSingleton < ISagaManagerIntegrationEventService , SagaManagerIntegrationEventService > ( )
6262 . AddSingleton < IEventBus , EventBusRabbitMQ > ( )
6363 . AddSingleton < IEventBusSubscriptionsManager , InMemoryEventBusSubscriptionsManager > ( )
6464 . AddSingleton < IRabbitMQPersistentConnection > ( sp =>
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ namespace SagaManager.Services
1414 public class SagaManagerService : ISagaManagerService
1515 {
1616 private readonly SagaManagerSettings _settings ;
17- private readonly ISagaManagingIntegrationEventService _sagaManagingIntegrationEventService ;
17+ private readonly ISagaManagerIntegrationEventService _sagaManagerIntegrationEventService ;
1818 private readonly ILogger < SagaManagerService > _logger ;
1919
2020 public SagaManagerService ( IOptions < SagaManagerSettings > settings ,
21- ISagaManagingIntegrationEventService sagaManagingIntegrationEventService ,
21+ ISagaManagerIntegrationEventService sagaManagerIntegrationEventService ,
2222 ILogger < SagaManagerService > logger )
2323 {
2424 _settings = settings . Value ;
25- _sagaManagingIntegrationEventService = sagaManagingIntegrationEventService ;
25+ _sagaManagerIntegrationEventService = sagaManagerIntegrationEventService ;
2626 _logger = logger ;
2727 }
2828
@@ -66,7 +66,7 @@ private void Publish(int orderId)
6666 var confirmGracePeriodEvent = new ConfirmGracePeriodCommandMsg ( orderId ) ;
6767
6868 // Publish through the Event Bus
69- _sagaManagingIntegrationEventService . PublishThroughEventBus ( confirmGracePeriodEvent ) ;
69+ _sagaManagerIntegrationEventService . PublishThroughEventBus ( confirmGracePeriodEvent ) ;
7070 }
7171 }
7272}
You can’t perform that action at this time.
0 commit comments