Table of Contents

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 ParameterInfo

The parameter.

mapping ClassMap

The 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

bool

Mapping

Gets the mapping this is a reference for.

public ClassMap Mapping { get; }

Property Value

ClassMap

Parameter

Gets the ParameterInfo that the data is associated with.

public virtual ParameterInfo Parameter { get; }

Property Value

ParameterInfo

Prefix

Gets or sets the header prefix to use.

public virtual string Prefix { get; set; }

Property Value

string