DataStandardizer.File.CSV API reference
The public types of DataStandardizer.File.CSV. All types are in the DataStandardizer.File.CSV namespace.
Classes
| Type | Description |
|---|---|
| CsvContext | The state of a CSV reader or writer (its mappers and options). |
| CsvExtensions | Conversion extension methods for mappers and line-model objects. |
| CsvFieldAttribute | Maps a property to a named CSV field for direct field access. |
| CsvFieldContext | The context passed to the field handler and converter delegates. |
| CsvFieldMapping | The details of a single property-to-field mapping. |
| CsvFieldMappingAttribute | Declarative mapping metadata, discovered automatically. |
| CsvFieldMappingBuilder | The concrete fluent field-mapping builder and its step interfaces. |
| CsvFileCustomMapperBase | Base class for an imperative mapper of plain (non-line) model objects. |
| CsvFileHeaderLine | A CSV header line; each field value is a field name. |
| CsvFileIoBase | The shared base of the CSV reader and writer. |
| CsvFileLineBase | The abstract base of the CSV line types. |
| CsvFileMapper | The sealed collection of field mappings produced from declarative attributes. |
| CsvFileMapperBase | Base class for an imperative mapper of CsvFileRecordLine-derived models. |
| CsvFileMappingBuilder | The entry point to the fluent mapping pipeline. |
| CsvFileOptions | Options to configure a CSV reader or writer. |
| CsvFileReader | A forward-only, non-cached CSV reader. |
| CsvFileRecordLine | A CSV data record; subclass it for strongly-typed fields. |
| CsvFileWriter | A CSV writer over a stream, text writer, or file. |
Exceptions
| Type | Description |
|---|---|
| CsvFileException | Thrown for abnormal CSV processing. |
Interfaces
| Type | Description |
|---|---|
| ICsvFileLine | A CSV line as an ordered, name-keyed bag of field values. |
| ICsvFileMapper | A read-only set of field mappings keyed by property name. |
| ICsvFileOptions | The read-only view of a reader or writer’s options. |
Enumerations
| Type | Description |
|---|---|
| CsvFieldQuoteHandling | How field values are quoted when writing. |
| CsvFileHeaderHandling | How the header line is handled when reading. |
Delegates
| Type | Description | | — | — | | CsvFieldBadValue | Called when a bad CSV field value is encountered. | | CsvFieldConvertFromString | Deserializes a CSV field value to a property value. | | CsvFieldConvertToString | Serializes a property value to a CSV field value. | | CsvFieldCount | Called when an inconsistent field count is detected. | | CsvFieldGenerate | Generates a value for a CSV field. | | CsvFieldValidate | Validates an incoming CSV field value. | | CsvFileHeader | Supplies field names in lieu of a header line from the file. | </content> </invoke>