This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Services/Ordering/Ordering.API/Infrastructure/AutofacModules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ protected override void Load(ContainerBuilder builder)
1919 builder . RegisterAssemblyTypes ( typeof ( IMediator ) . GetTypeInfo ( ) . Assembly )
2020 . AsImplementedInterfaces ( ) ;
2121
22- // Register all the Command classes (they implement IAsyncRequestHandler ) in assembly holding the Commands
22+ // Register all the Command classes (they implement IRequestHandler ) in assembly holding the Commands
2323 builder . RegisterAssemblyTypes ( typeof ( CreateOrderCommand ) . GetTypeInfo ( ) . Assembly )
2424 . AsClosedTypesOf ( typeof ( IRequestHandler < , > ) ) ;
2525
26- // Register the DomainEventHandler classes (they implement IAsyncNotificationHandler <>) in assembly holding the Domain Events
26+ // Register the DomainEventHandler classes (they implement INotificationHandler <>) in assembly holding the Domain Events
2727 builder . RegisterAssemblyTypes ( typeof ( ValidateOrAddBuyerAggregateWhenOrderStartedDomainEventHandler ) . GetTypeInfo ( ) . Assembly )
2828 . AsClosedTypesOf ( typeof ( INotificationHandler < > ) ) ;
2929
You can’t perform that action at this time.
0 commit comments