Fix issue ordering event handler registration
This commit is contained in:
parent
e4474127f9
commit
25a70605de
@ -31,7 +31,9 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure.Autof
|
||||
builder.RegisterAssemblyTypes(typeof(ValidateOrAddBuyerAggregateWhenOrderStartedDomainEventHandler).GetTypeInfo().Assembly)
|
||||
.As(o => o.GetInterfaces()
|
||||
.Where(i => i.IsClosedTypeOf(typeof(IAsyncNotificationHandler<>)))
|
||||
.Select(i => new KeyedService("IAsyncNotificationHandler", i)));
|
||||
.Select(i => new KeyedService("IAsyncNotificationHandler", i)))
|
||||
.AsImplementedInterfaces();
|
||||
|
||||
|
||||
builder
|
||||
.RegisterAssemblyTypes(typeof(CreateOrderCommandValidator).GetTypeInfo().Assembly)
|
||||
|
Loading…
x
Reference in New Issue
Block a user