CsvFieldCount Delegate
Definition
Namespace: DataStandardizer.File.CSV
The delegate called when a line has a field count inconsistent with the other lines in the CSV file, so you can handle it instead of letting a CsvFileException be thrown.
Syntax
public delegate void CsvFieldCount<TModel>(CsvFieldContext<TModel> context)
where TModel : class;
Remarks
Assigned to CsvFileOptions.InconsistentFieldCountHandler. The context carries the offending line’s model and header. See CsvFieldContext.
Applies to
Targets netstandard1.3, netstandard2.0, net8.0, and net10.0.
See also
</content>