Working on a command dispatcher
This commit is contained in:
parent
31666b4ba0
commit
a86a2d7ade
5 changed files with 55 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ namespace PlanTempus.Components.ModuleRegistry
|
|||
|
||||
// Registrer en decorator for alle ICommandHandler<TCommand>
|
||||
builder.RegisterGenericDecorator(
|
||||
typeof(LoggingCommandHandlerDecorator<>), // Din decorator-klasse
|
||||
typeof(CreateUserHandlerDecorator<>), // Din decorator-klasse
|
||||
typeof(ICommandHandler<>)); // Interface, der skal dekoreres
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue