Beispiel #1
0
 public CommandsExecutorHelper(
     IInProcessCommandBus commandBus,
     IEventStoreQueryManager eventStoreQueryManager,
     IMessagesTrackerQueryManager messagesTrackerQueryManager)
 {
     _commandBus                  = commandBus;
     _eventStoreQueryManager      = eventStoreQueryManager;
     _messagesTrackerQueryManager = messagesTrackerQueryManager;
     Logger = NullLogger.Instance;
     LoggerThreadContextManager = NullLoggerThreadContextManager.Instance;
 }
 public DocumentsController(
     IBlobStore blobStore,
     DocumentStoreConfiguration configService,
     IIdentityGenerator identityGenerator,
     IMongoDbReader<DocumentDescriptorReadModel, DocumentDescriptorId> documentDescriptorReader,
     IMongoDbReader<DocumentDeletedReadModel, String> documentDeletedReader,
     IInProcessCommandBus commandBus,
     IDocumentWriter handleWriter,
     IQueueManager queueDispatcher,
     ICounterService counterService,
     IDocumentFormatTranslator documentFormatTranslator)
 {
     _blobStore = blobStore;
     _configService = configService;
     _identityGenerator = identityGenerator;
     _documentDescriptorReader = documentDescriptorReader;
     _documentDeletedReader = documentDeletedReader;
     _handleWriter = handleWriter;
     _queueDispatcher = queueDispatcher;
     _counterService = counterService;
     _documentFormatTranslator = documentFormatTranslator;
     CommandBus = commandBus;
 }
 public DocumentsController(
     IBlobStore blobStore,
     DocumentStoreConfiguration configService,
     IIdentityGenerator identityGenerator,
     IMongoDbReader <DocumentDescriptorReadModel, DocumentDescriptorId> documentDescriptorReader,
     IMongoDbReader <DocumentDeletedReadModel, String> documentDeletedReader,
     IInProcessCommandBus commandBus,
     IDocumentWriter handleWriter,
     IQueueManager queueDispatcher,
     ICounterService counterService,
     IDocumentFormatTranslator documentFormatTranslator)
 {
     _blobStore                = blobStore;
     _configService            = configService;
     _identityGenerator        = identityGenerator;
     _documentDescriptorReader = documentDescriptorReader;
     _documentDeletedReader    = documentDeletedReader;
     _handleWriter             = handleWriter;
     _queueDispatcher          = queueDispatcher;
     _counterService           = counterService;
     _documentFormatTranslator = documentFormatTranslator;
     CommandBus                = commandBus;
 }