Class ParameterReferenceMapData
- Namespace
- CsvHelper.Configuration
- Assembly
- CsvHelper.dll
The configuration data for the reference map.
public class ParameterReferenceMapData
- Inheritance
-
ParameterReferenceMapData
- Inherited Members
Constructors
ParameterReferenceMapData(ParameterInfo, ClassMap)
Initializes a new instance of the ParameterReferenceMapData class.
public ParameterReferenceMapData(ParameterInfo parameter, ClassMap mapping)
Parameters
parameter
ParameterInfoThe parameter.
mapping
ClassMapThe mapping this is a reference for.
Properties
Inherit
Gets or sets a value indicating if a prefix should inherit its parent.
true
to inherit, otherwise false
.
public virtual bool Inherit { get; set; }
Property Value
Mapping
Gets the mapping this is a reference for.
public ClassMap Mapping { get; }
Property Value
Parameter
Gets the ParameterInfo that the data is associated with.
public virtual ParameterInfo Parameter { get; }
Property Value
Prefix
Gets or sets the header prefix to use.
public virtual string Prefix { get; set; }