Maps a constructor parameter to a CSV field.
- Namespace
- CsvHelper
.Configuration - Containing Type
- ClassMap
Syntax
public virtual ParameterMap Parameter(Func<ConstructorInfo> getConstructor, string name)
Parameters
Name | Type | Description |
---|---|---|
getConstructor | Func |
A function that returns the ConstructorInfo for the constructor. |
name | string | The name of the constructor parameter. |
Return Value
Type | Description |
---|---|
ParameterMap |