public ProcessOutboxCommandHandler(
     IMediator mediator,
     ISqlConnectionFactory sqlConnectionFactory, IDomainNotificationsMapper domainNotificationsMapper)
 {
     _mediator                  = mediator;
     _sqlConnectionFactory      = sqlConnectionFactory;
     _domainNotificationsMapper = domainNotificationsMapper;
 }
Exemple #2
0
 public DomainEventsDispatcher(
     IMediator mediator,
     ILifetimeScope scope,
     IOutbox outbox,
     IDomainEventsAccessor domainEventsProvider,
     IDomainNotificationsMapper domainNotificationsMapper)
 {
     _mediator                  = mediator;
     _scope                     = scope;
     _outbox                    = outbox;
     _domainEventsProvider      = domainEventsProvider;
     _domainNotificationsMapper = domainNotificationsMapper;
 }