Beispiel #1
0
            public EventReplayerInvoker(IEventReplayer <TId, TEventBase, TEntityBase, TEvent, TEntity> eventReplayer)
            {
                if (eventReplayer == null)
                {
                    throw new ArgumentNullException(nameof(eventReplayer));
                }

                _eventReplayer = eventReplayer;
            }
Beispiel #2
0
 public AuditLogCommandListener(IAuditLogRepository <LogEntry, long> repository, IEventReplayer eventReplayer,
                                IRoutingKeyMatcher routingKeyMatcher, IEventBus eventBus)
 {
     _eventBus          = eventBus;
     _repository        = repository;
     _eventReplayer     = eventReplayer;
     _routingKeyMatcher = routingKeyMatcher;
     _logger            = AuditLogLoggerFactory.CreateInstance <AuditLogCommandListener>();
 }
Beispiel #3
0
 public TestDataGeneratorController(
     IEventReplayer eventReplayer,
     IHealthRisks healthRisks,
     IUsers users,
     INationalSocieties nationalSocieties,
     IProjects projects)
 {
     _eventReplayer     = eventReplayer;
     _healthRisks       = healthRisks;
     _users             = users;
     _nationalSocieties = nationalSocieties;
     _projects          = projects;
 }
 public TestDataGeneratorController(
     IExtendedReadModelRepositoryFor <HealthRisk> healthRisks,
     IUsers users,
     INationalSocieties nationalSocieties,
     IProjects projects,
     IEventReplayer eventReplayer)
 {
     _healthRisks       = healthRisks;
     _users             = users;
     _nationalSocieties = nationalSocieties;
     _projects          = projects;
     _eventReplayer     = eventReplayer;
 }
Beispiel #5
0
 public TestDataGeneratorController(IMongoDatabase database, IEventReplayer eventReplayer)
 {
     _database      = database;
     _eventReplayer = eventReplayer;
 }
 public TestDataGeneratorController(IMongoDatabase database, ITextMessageProcessors textMessageProcessors, IEventReplayer eventReplayer)
 {
     _textMessageProcessors = textMessageProcessors;
     _database      = database;
     _eventReplayer = eventReplayer;
 }
 public TestDataGeneratorController(
     IEventReplayer eventReplayer)
 {
     _eventReplayer = eventReplayer;
 }