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
MemberInfoThe member.
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
Member
Gets the MemberInfo that the data is associated with.
public virtual MemberInfo Member { get; }
Property Value
Prefix
Gets or sets the header prefix to use.
public virtual string Prefix { get; set; }