示例#1
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>();
 }
示例#2
0
 public EventReplayer(IEventBus eventBus)
 {
     _eventBus           = eventBus;
     _replayExchangeName = string.Empty;
     _logger             = AuditLogLoggerFactory.CreateInstance <EventReplayer>();
 }
 public AuditLogEventListener(IAuditLogRepository <LogEntry, long> repository)
 {
     _repository = repository;
     _logger     = AuditLogLoggerFactory.CreateInstance <AuditLogEventListener>();
 }