Exemplo n.º 1
0
 public RuleService(
     RuleRepository ruleRepository,
     ILogger logger,
     PapercutServiceBackendCoordinator coordinator,
     MessageWatcher messageWatcher,
     IRulesRunner rulesRunner,
     IMessageBus messageBus)
     : base(ruleRepository, logger)
 {
     _coordinator     = coordinator;
     _messageWatcher  = messageWatcher;
     _rulesRunner     = rulesRunner;
     this._messageBus = messageBus;
 }
Exemplo n.º 2
0
 public RuleService(
     RuleRespository ruleRespository,
     ILogger logger,
     PapercutServiceBackendCoordinator coordinator,
     MessageWatcher messageWatcher,
     IRulesRunner rulesRunner,
     IPublishEvent publishEvent)
     : base(ruleRespository, logger)
 {
     _coordinator    = coordinator;
     _messageWatcher = messageWatcher;
     _rulesRunner    = rulesRunner;
     _publishEvent   = publishEvent;
 }