Exemplo n.º 1
0
 public void ProcessEvent(IEventHandlerContext <Registered> context)
 {
     using (_databaseContextFactory.Create(_configuration.ProviderName, _configuration.ConnectionString))
     {
         _query.Register(context.ProjectionEvent, context.DomainEvent);
     }
 }
 public void ProcessEvent(IEventHandlerContext <Registered> context)
 {
     _query.Register(context.ProjectionEvent, context.DomainEvent);
 }