Class IgnoreReferencesAttribute
- Namespace
- CsvHelper.Configuration.Attributes
- Assembly
- CsvHelper.dll
Gets a value indicating whether references should be ignored when auto mapping. true to ignore references, otherwise false.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class IgnoreReferencesAttribute : Attribute, IClassMapper
- Inheritance
-
IgnoreReferencesAttribute
- Implements
- Inherited Members
Constructors
IgnoreReferencesAttribute(bool)
Gets a value indicating whether references should be ignored when auto mapping. true to ignore references, otherwise false.
public IgnoreReferencesAttribute(bool ignoreReferences = true)
Parameters
ignoreReferences
bool
Properties
IgnoreReferences
Gets a value indicating whether references should be ignored when auto mapping. true to ignore references, otherwise false.
public bool IgnoreReferences { get; }
Property Value
Methods
ApplyTo(CsvConfiguration)
public void ApplyTo(CsvConfiguration configuration)
Parameters
configuration
CsvConfiguration