Class CsvProperty<T>
CsvProperty corresponds to column in a CSV file
Inherited Members
Namespace: FluentCsvMachine.Property
Assembly: library.dll
Syntax
public class CsvProperty<T> : CsvPropertyBase
Type Parameters
| Name | Description |
|---|---|
| T | This property belongs to T type |
Constructors
| Improve this Doc View SourceCsvProperty(Type, Expression<Func<T, Nullable<Object>>>)
CsvProperty corresponds to column in a CSV file
Declaration
public CsvProperty(Type propertyType, Expression<Func<T, object?>> accessor)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | propertyType | Value type of the property |
| Expression<Func<T, System.Nullable<System.Object>>> | accessor | Expression to the property which shall be mapped |
Properties
| Improve this Doc View SourceAccessor
Accessor of the property
Declaration
public Expression<Func<T, object?>> Accessor { get; }
Property Value
| Type | Description |
|---|---|
| Expression<Func<T, System.Nullable<System.Object>>> |