Table of Contents

Class MemberReferenceMapData

Namespace
CsvHelper.Configuration
Assembly
CsvHelper.dll

The configuration data for the reference map.

public class MemberReferenceMapData
Inheritance
MemberReferenceMapData
Inherited Members

Constructors

MemberReferenceMapData(MemberInfo, ClassMap)

Initializes a new instance of the MemberReferenceMapData class.

public MemberReferenceMapData(MemberInfo member, ClassMap mapping)

Parameters

member MemberInfo

The member.

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

Member

Gets the MemberInfo that the data is associated with.

public virtual MemberInfo Member { get; }

Property Value

MemberInfo

Prefix

Gets or sets the header prefix to use.

public virtual string Prefix { get; set; }

Property Value

string