Esempio n. 1
0
        public EventJsonSchemaGeneratorTests()
        {
            var jsonSchemaGenerator =
                new JsonSchemaGenerator(
                    new JsonSchemaGeneratorSettings());

            sut = new EventJsonSchemaGenerator(jsonSchemaGenerator);
        }
Esempio n. 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;
 }