public RowTransformer(
     IColumnMapBuilder columnMapBuilder,
     IRowTransformerFactory <TRowTransformer> factory,
     ITransformationRunner <TRowTransformer> transformerRunner,
     IResultReporter reporter)
     : base(columnMapBuilder, factory, transformerRunner, reporter)
 {
 }
 public RowFilterer(
     IColumnMapBuilder columnMapBuilder,
     IDocumentTransformerFactory <Filtering.IRowMatchEvaluator> factory,
     ITransformationRunner <Filtering.IRowMatchEvaluator> transformerRunner,
     IResultReporter reporter)
     : base(columnMapBuilder, factory, transformerRunner, reporter)
 {
 }
 public DocumentTransformer(
     IColumnMapBuilder columnMapBuilder,
     IDocumentTransformerFactory <TTransformer> factory,
     ITransformationRunner <TTransformer> transformerRunner,
     IResultReporter reporter)
 {
     this.columnMapBuilder  = columnMapBuilder;
     this.factory           = factory;
     this.transformerRunner = transformerRunner;
     this.reporter          = reporter;
 }
Esempio n. 4
0
 public DocumentTransformerFactoryBuilder(
     IColumnMapBuilder columnMapBuilder,
     ITransformationRunner <ICellContentTransformer> cellContentTransformerRunner,
     ITransformationRunner <IStructureTransformer> structureTransformerRunner,
     ITransformationRunner <Filtering.IRowMatchEvaluator> rowFilterRunner,
     FilteringResultReporter filteringReporter,
     TransformationResultReporter transformationReporter)
 {
     this.columnMapBuilder             = columnMapBuilder;
     this.cellContentTransformerRunner = cellContentTransformerRunner;
     this.structureTransformerRunner   = structureTransformerRunner;
     this.rowFilterRunner        = rowFilterRunner;
     this.filteringReporter      = filteringReporter;
     this.transformationReporter = transformationReporter;
 }
Esempio n. 5
0
 public ReportingComparer(
     ICsvDocumentByteStreamReader csvStream1Reader,
     ICsvDocumentByteStreamReader csvStream2Reader,
     IMultiTransformer transformer1,
     IMultiTransformer transformer2,
     Statement.IStatementEntryParserFactory <TEntry1> entry1ParserFactory,
     Statement.IStatementEntryParserFactory <TEntry2> entry2ParserFactory,
     IComparerFactory <TEntry1, TEntry2> comparerFactory,
     IColumnMapBuilder columnMapBuilder)
 {
     this.csvStream1Reader    = csvStream1Reader ?? throw new ArgumentNullException(nameof(csvStream1Reader));
     this.csvStream2Reader    = csvStream2Reader ?? throw new ArgumentNullException(nameof(csvStream2Reader));
     this.transformer1        = transformer1 ?? throw new ArgumentNullException(nameof(transformer1));
     this.transformer2        = transformer2 ?? throw new ArgumentNullException(nameof(transformer2));
     this.comparerFactory     = comparerFactory ?? throw new ArgumentNullException(nameof(comparerFactory));
     this.columnMapBuilder    = columnMapBuilder ?? throw new ArgumentNullException(nameof(columnMapBuilder));
     this.entry1ParserFactory = entry1ParserFactory ?? throw new ArgumentNullException(nameof(entry1ParserFactory));
     this.entry2ParserFactory = entry2ParserFactory ?? throw new ArgumentNullException(nameof(entry2ParserFactory));
 }
 public void SetUp()
 {
     _sut = new ColumnMapBuilder <TestDataClass>();
 }