public UpdateCsvFileSourceCommandHandler( ISourceRepository repository, ICsvFileDataAdapter dataAdapter, IDataTypeDetector dataTypeDetector, ISemanticTypeDetector semanticTypeDetector, ISourceMapFactory factory, IEventBus eventBus) { _repository = repository; _dataAdapter = dataAdapter; _dataTypeDetector = dataTypeDetector; _semanticTypeDetector = semanticTypeDetector; _factory = factory; _eventBus = eventBus; }
public ImportCsvFileSourceCommandHandler( ISourceRepository repository, IEventBus eventBus, IApplicationStateService stateService, IDataContext dataContext, ICsvFileDataAdapter dataAdapter, IDataTypeConverterFactory converterFactory, IDataLoaderFactory loaderFactory, IColumnFactory columnFactory, IColumnRepository columnRepository, IRowRepository rowRepository) { _repository = repository; _eventBus = eventBus; _stateService = stateService; _dataContext = dataContext; _dataAdapter = dataAdapter; _converterFactory = converterFactory; _loaderFactory = loaderFactory; _columnFactory = columnFactory; _columnRepository = columnRepository; _rowRepository = rowRepository; }