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