/// <summary>
 /// Initializes a new instance of the <see cref="SpreadsheetDataProcessor"/> class.
 /// </summary>
 /// <param name="cellDataParser">The cell data parser instance for parsing cell data.</param>
 /// <exception cref="ArgumentNullException">Thrown if <paramref name="cellDataParser"/> is null.</exception>
 public SpreadsheetDataProcessor(ICellDataParser cellDataParser)
 {
     if (cellDataParser == null)
     {
         throw new ArgumentNullException(nameof(cellDataParser));
     }
     _cellDataParser = cellDataParser;
 }
示例#2
0
 public FileLineProcessor(ICellDataParser cellDataParser)
 {
     _cellDataParser = cellDataParser ?? throw new ArgumentNullException(nameof(cellDataParser));
 }