コード例 #1
0
        public TerminalCommandHandlers(
            IAuthoredEventStore eventStore,
            IInMemoryAuthoredEventStore inMemoryEventStore,
            ITerminalAdapter terminalAdapter,
            ei8.Data.ExternalReference.Port.Adapter.In.InProcess.IItemAdapter externalReferenceAdapter,
            IValidationClient validationClient,
            INeuronGraphQueryClient neuronGraphQueryClient,
            ISettingsService settingsService
            )
        {
            AssertionConcern.AssertArgumentNotNull(eventStore, nameof(eventStore));
            AssertionConcern.AssertArgumentNotNull(inMemoryEventStore, nameof(inMemoryEventStore));
            AssertionConcern.AssertArgumentNotNull(terminalAdapter, nameof(terminalAdapter));
            AssertionConcern.AssertArgumentNotNull(externalReferenceAdapter, nameof(externalReferenceAdapter));
            AssertionConcern.AssertArgumentNotNull(validationClient, nameof(validationClient));
            AssertionConcern.AssertArgumentNotNull(neuronGraphQueryClient, nameof(neuronGraphQueryClient));
            AssertionConcern.AssertArgumentNotNull(settingsService, nameof(settingsService));

            this.eventStore               = (IAuthoredEventStore)eventStore;
            this.inMemoryEventStore       = (IInMemoryAuthoredEventStore)inMemoryEventStore;
            this.terminalAdapter          = terminalAdapter;
            this.externalReferenceAdapter = externalReferenceAdapter;
            this.validationClient         = validationClient;
            this.neuronGraphQueryClient   = neuronGraphQueryClient;
            this.settingsService          = settingsService;
        }
コード例 #2
0
 public ValidationService(ISettingsService settingsService, INotificationClient notificationClient, INeuronGraphQueryClient neuronGraphQueryClient, IAuthorRepository authorRepository)
 {
     this.settingsService        = settingsService;
     this.notificationClient     = notificationClient;
     this.neuronGraphQueryClient = neuronGraphQueryClient;
     this.authorRepository       = authorRepository;
 }
コード例 #3
0
 public AuthorApplicationService(ISettingsService settingsService, INotificationClient notificationClient, INeuronGraphQueryClient neuronGraphQueryClient, IUserRepository userRepository, IRegionPermitRepository regionPermitRepository)
 {
     this.settingsService        = settingsService;
     this.notificationClient     = notificationClient;
     this.neuronGraphQueryClient = neuronGraphQueryClient;
     this.userRepository         = userRepository;
     this.regionPermitRepository = regionPermitRepository;
 }
コード例 #4
0
        public NeuronQueryService(INeuronGraphQueryClient graphQueryClient, IValidationClient validationClient, ISettingsService settingsService)
        {
            AssertionConcern.AssertArgumentNotNull(graphQueryClient, nameof(graphQueryClient));
            AssertionConcern.AssertArgumentNotNull(validationClient, nameof(validationClient));
            AssertionConcern.AssertArgumentNotNull(settingsService, nameof(settingsService));

            this.graphQueryClient = graphQueryClient;
            this.validationClient = validationClient;
            this.settingsService  = settingsService;
        }
コード例 #5
0
 public NeuronQueryService(INeuronGraphQueryClient neuronQueryClient)
 {
     this.neuronQueryClient = neuronQueryClient;
 }
コード例 #6
0
 public AuthorRepository(ISettingsService settingsService, INeuronGraphQueryClient neuronGraphQueryClient)
 {
     this.settingsService        = settingsService;
     this.neuronGraphQueryClient = neuronGraphQueryClient;
 }