Class CsvPropertyExtensions
Extensions which make the fluent definition of columns possible
Inheritance
System.Object
CsvPropertyExtensions
Namespace: FluentCsvMachine.Property
Assembly: library.dll
Syntax
public static class CsvPropertyExtensions : object
Methods
| Improve this Doc View SourceColumnName(CsvPropertyBase, String)
Add the mandatory Column Name
Declaration
public static CsvPropertyBase ColumnName(this CsvPropertyBase column, string columnName)
Parameters
| Type | Name | Description |
|---|---|---|
| CsvPropertyBase | column | Current column |
| System.String | columnName | The name of the column, defined in the CSV header |
Returns
| Type | Description |
|---|---|
| CsvPropertyBase |
InputFormat(CsvPropertyBase, String)
Adds InputFormat which is required for DateTime columns
Declaration
public static CsvPropertyBase InputFormat(this CsvPropertyBase column, string inputFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| CsvPropertyBase | column | Current column |
| System.String | inputFormat | Specific InputFormat, see for examples |
Returns
| Type | Description |
|---|---|
| CsvPropertyBase |