Example #1
0
 public RulesController(ICommandBus commandBus,
                        IRuleEventRepository ruleEventsRepository,
                        IRuleQueryService ruleQuery,
                        IRuleRunnerService ruleRunnerService,
                        RuleRegistry ruleRegistry)
     : base(commandBus)
 {
     this.ruleEventsRepository = ruleEventsRepository;
     this.ruleQuery            = ruleQuery;
     this.ruleRunnerService    = ruleRunnerService;
     this.ruleRegistry         = ruleRegistry;
 }
Example #2
0
 public RulesController(ICommandBus commandBus,
                        IRuleEventRepository ruleEventsRepository,
                        IRuleQueryService ruleQuery,
                        IRuleRunnerService ruleRunnerService,
                        RuleRegistry ruleRegistry,
                        EventJsonSchemaGenerator eventJsonSchemaGenerator)
     : base(commandBus)
 {
     this.ruleEventsRepository     = ruleEventsRepository;
     this.ruleQuery                = ruleQuery;
     this.ruleRunnerService        = ruleRunnerService;
     this.ruleRegistry             = ruleRegistry;
     this.eventJsonSchemaGenerator = eventJsonSchemaGenerator;
 }