Exemplo n.º 1
0
 public CsvTableList(
     bool isStringInternEnabled,
     char?csvSeparator,
     NoBomEncoding noBomEncoding,
     bool allowComments,
     bool ignoreBadData,
     string filePath,
     IEnumerable <CsvColumnInfo> propertiesInfo,
     Action <TRow> relationsInit)
     : base(isStringInternEnabled, csvSeparator, noBomEncoding, allowComments, ignoreBadData, filePath, propertiesInfo, relationsInit) =>
Exemplo n.º 2
0
 // ReSharper disable once UnusedMember.Global
 public static CsvTableBase <TRow> CreateTable <TRow>(
     bool isStringInternEnabled,
     bool isCacheEnabled,
     char?csvSeparator,
     NoBomEncoding noBomEncoding,
     bool allowComments,
     bool ignoreBadData,
     string filePath,
     IEnumerable <CsvColumnInfo> propertiesInfo,
     Action <TRow> relationsInit)
     where TRow : ICsvRowBase, new() =>
 isCacheEnabled
         ? new CsvTableList <TRow>(isStringInternEnabled, csvSeparator, noBomEncoding, allowComments, ignoreBadData, filePath, propertiesInfo, relationsInit)
 : new CsvTableEnumerable <TRow>(isStringInternEnabled, csvSeparator, noBomEncoding, allowComments, ignoreBadData, filePath, propertiesInfo, relationsInit);