Table of Contents

Class CsvFieldConfigurationAttribute

Namespace
FlameCsv.Attributes
Assembly
FlameCsv.Core.dll

Base class for attributes that can be used to configure a specific property, field, or parameter.
When not placed directly on a member/parameter, MemberName must be set.

public abstract class CsvFieldConfigurationAttribute : CsvConfigurationAttribute
Inheritance
CsvFieldConfigurationAttribute
Derived
Inherited Members

Properties

IsParameter

Whether MemberName points to a parameter.

public bool IsParameter { get; init; }

Property Value

bool

MemberName

Name of the property, field, or parameter the attribute applies to.

public string MemberName { get; init; }

Property Value

string

Remarks

Must be set if this attribute is not placed directly on a property, field, or parameter.

Exceptions

ArgumentNullException

Thrown if the value is null

See Also