Class CsvPropertyBase
CsvPropertyBase corresponds to column in a CSV file Abstract class to have one common type for lists
Namespace: FluentCsvMachine.Property
Assembly: library.dll
Syntax
public abstract class CsvPropertyBase : object
Constructors
| Improve this Doc View SourceCsvPropertyBase(Type, Boolean)
See CsvPropertyBase
Declaration
protected CsvPropertyBase(Type propertyType, bool isCustom)
Parameters
Type | Name | Description |
---|---|---|
Type | propertyType | Property of the column |
System.Boolean | isCustom | Is a custom mapping column |
Properties
| Improve this Doc View SourceColumnName
Name of the CSV column
Declaration
public string? ColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
Index
Column Index in CSV
Declaration
public int? Index { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
InputFormat
InputFormat for DateTime, ...
Declaration
public string? InputFormat { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
IsCustom
False: CsvProperty, True: CsvPropertyCustom
Declaration
public bool IsCustom { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PropertyType
Type of the property
Declaration
public Type? PropertyType { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<Type> |