示例#1
0
 public IRowTransformer shimLineTransformer(ILineTransformer lineTransformer)
 {
     return(new RowTransformerShimAnd {
         lineTransformer = lineTransformer
     });
 }
示例#2
0
 public Parser(DataReader reader, ILineTransformer transformer)
 {
     _reader      = reader;
     _transformer = transformer;
 }
 public override IEnumerable <DataItem> ReadData(string filePath, ILineTransformer transformer)
 => File.ReadAllLines(filePath).Select(transformer.Transform);
示例#4
0
 public abstract IEnumerable <DataItem> ReadData(string filePath, ILineTransformer transformer);