public CsvFileDataAdapter(
     ICsvFile csvFile,
     ICsvFileParser parser,
     IDataTypeDetector dataTypeDetector)
 {
     _csvFile          = csvFile;
     _parser           = parser;
     _dataTypeDetector = dataTypeDetector;
 }
 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;
 }
Exemple #3
0
 public void TestInitialize()
 {
     opdsDataDetector = TestInitializer.Container.GetExportedValue <IDataTypeDetector>("OpdsData");
     Assert.IsNotNull(opdsDataDetector);
 }