public EventStore(IOptions <DomainDbConfiguration> settings, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _dbContext = new DomainDbContext(settings); _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }
public EventStore(IDocumentRepository <EventDocument> eventRepository, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _eventRepository = eventRepository; _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }
public EventStore(IOptions <DomainDbConfiguration> settings, IAggregateDocumentFactory aggregateDocumentFactory, IEventDocumentFactory eventDocumentFactory) { _dbContext = new DomainDbContext(settings); _aggregateDocumentFactory = aggregateDocumentFactory; _eventDocumentFactory = eventDocumentFactory; }
public EventStore(IDocumentDbRepository <AggregateDocument> aggregateRepository, IDocumentDbRepository <EventDocument> eventRepository, IAggregateDocumentFactory aggregateDocumentFactory, IEventDocumentFactory eventDocumentFactory) { _aggregateRepository = aggregateRepository; _eventRepository = eventRepository; _aggregateDocumentFactory = aggregateDocumentFactory; _eventDocumentFactory = eventDocumentFactory; }
public EventStore(IDocumentRepository <AggregateDocument> aggregateRepository, IDocumentRepository <EventDocument> eventRepository, IAggregateDocumentFactory aggregateDocumentFactory, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _aggregateRepository = aggregateRepository; _eventRepository = eventRepository; _aggregateDocumentFactory = aggregateDocumentFactory; _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }
public MongoStoreProvider(IOptions <MongoOptions> settings, IAggregateDocumentFactory aggregateDocumentFactory, ICommandDocumentFactory commandDocumentFactory, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _dbContext = new MongoDbContext(settings); _aggregateDocumentFactory = aggregateDocumentFactory; _commandDocumentFactory = commandDocumentFactory; _commandDocumentFactory = commandDocumentFactory; _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }
public DomainStore(IConfiguration configuration, IOptions <DomainDbOptions> settings, IAggregateDocumentFactory aggregateDocumentFactory, ICommandDocumentFactory commandDocumentFactory, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _dbContext = new DomainDbContext(configuration, settings); _aggregateDocumentFactory = aggregateDocumentFactory; _commandDocumentFactory = commandDocumentFactory; _commandDocumentFactory = commandDocumentFactory; _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }
public StoreProvider(IDocumentRepository <AggregateDocument> aggregateRepository, IDocumentRepository <CommandDocument> commandRepository, IDocumentRepository <EventDocument> eventRepository, IAggregateDocumentFactory aggregateDocumentFactory, ICommandDocumentFactory commandDocumentFactory, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _aggregateRepository = aggregateRepository; _commandRepository = commandRepository; _eventRepository = eventRepository; _aggregateDocumentFactory = aggregateDocumentFactory; _commandDocumentFactory = commandDocumentFactory; _commandDocumentFactory = commandDocumentFactory; _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }