CsvFieldBadValue Delegate

Definition

Namespace: DataStandardizer.File.CSV

The delegate called when a bad CSV field value is encountered, so you can handle it instead of letting a CsvFileException be thrown.

Syntax

public delegate void CsvFieldBadValue<TModel>(CsvFieldContext<TModel> context)
    where TModel : class;

Remarks

Assigned to CsvFileOptions.BadValueHandler. The context carries the field’s identity, raw value, and the model. See CsvFieldContext.

Applies to

Targets netstandard1.3, netstandard2.0, net8.0, and net10.0.

See also

</content>


This site uses Just the Docs, a documentation theme for Jekyll.