Example #1
0
 // TODO: Allow to register SAGA's
 public void RegisterSaga(ICommandHandlerFactory registration)
 {
     registration.RegisterCommandHandler <OrderEventHandler>();
 }
Example #2
0
 public void Register(ICommandHandlerFactory registration)
 {
     registration.RegisterCommandHandler <OrderHandler>();
     registration.RegisterCommandHandler <ProductHandler>();
     registration.RegisterCommandHandler <ShoppingCartHandler>();
 }