internal ChoiceBetweenAsAndInto(CsvFileParser <TLine> parser, string columnName, TResultSet resultSet, Func <string, Data> validation = null) : base(parser, resultSet) { _intoBuilder = new IntoBuilder <TLine, string, TResultSet>(CsvFileParser, columnName, resultSet, validator: validation); _asBuilder = new AsBuilder <TLine, TResultSet>(CsvFileParser, columnName, resultSet, validation); _inThisWayBuilder = new InThisWayBuilder <TLine, string, TResultSet>(CsvFileParser, columnName, resultSet, validation); }
internal AsMethods(CsvFileParser <TLine> parser, string columnName, TResultSet resultSet, Func <string, Data> dataValidator = null) : base(parser, resultSet) { _inThisWayBuilder = new InThisWayBuilder <TLine, TMember, TResultSet>(CsvFileParser, columnName, resultSet, dataValidator); _intoBuilder = new IntoBuilder <TLine, TMember, TResultSet>(CsvFileParser, columnName, resultSet, validator: dataValidator); }