The constructor parameter data for the map.
- Namespace
- CsvHelper
.Configuration - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ParameterMapData"]
class Type type-node
Syntax
[DebuggerDisplay("Index = {Index}, Names = {string.Join(\", \", Names)}, Parameter = {Parameter}")]
public class ParameterMapData
Attributes
| Type | Description |
|---|---|
| Debugger |
Constructors
| Name | Summary |
|---|---|
| ParameterMapData |
Initializes a new instance of the ParameterMapData class.
|
Properties
| Name | Property Type | Summary |
|---|---|---|
| Constant | object |
Gets or sets the constant value used for every record.
|
| Default | object |
Gets or sets the default value used when a CSV field is empty.
|
| Ignore | bool |
Gets or sets a value indicating whether the field should be ignored.
|
| Index | int |
Gets or sets the column index.
|
| IsConstantSet | bool |
Gets or sets a value indicating if a constant was explicitly set.
|
| IsDefaultSet | bool |
Gets or sets a value indicating whether this instance is default value set.
the default value was explicitly set. True if it was
explicitly set, otherwise false.
|
| IsIndexSet | bool |
Gets or sets a value indicating if the index was
explicitly set. True if it was explicitly set,
otherwise false.
|
| IsNameSet | bool |
Gets or sets a value indicating if the name was
explicitly set. True if it was explicitly set,
otherwise false.
|
| IsOptional | bool |
Gets or sets a value indicating if a field is optional.
|
| NameIndex | int |
Gets or sets the index of the name.
This is used if there are multiple
columns with the same names.
|
| Names | MemberNameCollection |
Gets the list of column names.
|
| Parameter | ParameterInfo |
Gets the
ParameterInfo that the data
is associated with.
|
| TypeConverter | ITypeConverter |
Gets or sets the type converter.
|
| TypeConverterOptions | TypeConverterOptions |
Gets or sets the type converter options.
|