public MappingRepository( IContext context, IOperationExecutive operationExecutive, IMappingDataRepository mappingDataRepository, ISafeRepository safeRepository, IHashingSerializer <TEntity> hashingSerializer, IEventDispatcher <TEntity> eventDispatcher, IInitializer initializer) { this.context = context; this.operationExecutive = operationExecutive; this.mappingDataRepository = mappingDataRepository; this.safeRepository = safeRepository; this.hashingSerializer = hashingSerializer; initializer.Register( this.mappingDataRepository.CreateInitializer(eventDispatcher), suppressEvents: true); }
public DatabaseLogger( IContext context, IOperationExecutive operationExecutive, IServiceProvider <TEntity> serviceProvider, IMappingDataRepository mappingDataRepository, IHashingSerializer <TEntity> hashingSerializer, IHashFunction hashFunction, ILoggingConfigurationProvider loggingConfigurationProvider, ISafeRepository safeRepository) { this.context = context; this.operationExecutive = operationExecutive; this.serviceProvider = serviceProvider; this.mappingDataRepository = mappingDataRepository; this.hashingSerializer = hashingSerializer; this.hashFunction = hashFunction; this.loggingConfigurationProvider = loggingConfigurationProvider; this.safeRepository = safeRepository; }
public Processor( IContext context, IOperationExecutive operationExecutive, ISafeMetadataProvider <TEntity> safeMetadataProvider, IServiceProvider <TEntity> serviceProvider, IMappingRepository <TEntity> mappingRepository, IPreprocessor <TEntity> preprocessor, IDeduplicator <TEntity> deduplicator, IHashingSerializer <TEntity> hashingSerializer, IGateway <TEntity> gateway, IEventHub <TEntity> eventHub) { this.context = context; this.operationExecutive = operationExecutive; this.safeMetadataProvider = safeMetadataProvider; this.serviceProvider = serviceProvider; this.mappingRepository = mappingRepository; this.preprocessor = preprocessor; this.deduplicator = deduplicator; this.hashingSerializer = hashingSerializer; this.gateway = gateway; this.eventHub = eventHub; }