Exemple #1
0
 public DefaultEventSourcingProcessor(
     EventSourcingProcessorOptions <TSourcedEvent, TProjectionKey> options,
     ICosmosContainerService containerService,
     ILeaseContainerProvider leaseContainerProvider,
     ILogger <DefaultEventSourcingProcessor <TSourcedEvent, TProjectionKey> > logger,
     IEventItemProjection <TSourcedEvent, TProjectionKey> projection)
 {
     _options                = options;
     _containerService       = containerService;
     _leaseContainerProvider = leaseContainerProvider;
     _logger     = logger;
     _projection = projection;
 }
 public DefaultChangeFeedContainerProcessorProvider(
     IOptionsMonitor <RepositoryOptions> optionsMonitor,
     ICosmosContainerService containerService,
     ILeaseContainerProvider leaseContainerProvider,
     ILoggerFactory loggerFactory,
     IServiceProvider serviceProvider,
     IChangeFeedOptionsProvider changeFeedOptionsProvider)
 {
     _optionsMonitor            = optionsMonitor;
     _containerService          = containerService;
     _leaseContainerProvider    = leaseContainerProvider;
     _loggerFactory             = loggerFactory;
     _serviceProvider           = serviceProvider;
     _changeFeedOptionsProvider = changeFeedOptionsProvider;
 }
Exemple #3
0
 public DefaultCosmosContainerSyncService(ICosmosContainerService containerService) => _containerService = containerService;
 public DefaultCosmosContainerProvider(ICosmosContainerService containerService) =>