Class BooleanFalseValuesAttribute
- Namespace
- CsvHelper.Configuration.Attributes
- Assembly
- CsvHelper.dll
The string values used to represent a boolean false when converting.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class BooleanFalseValuesAttribute : Attribute, IMemberMapper, IParameterMapper
- Inheritance
-
BooleanFalseValuesAttribute
- Implements
- Inherited Members
Constructors
BooleanFalseValuesAttribute(string)
The string values used to represent a boolean false when converting.
public BooleanFalseValuesAttribute(string falseValue)
Parameters
falseValue
stringThe false values.
BooleanFalseValuesAttribute(params string[])
The string values used to represent a boolean false when converting.
public BooleanFalseValuesAttribute(params string[] falseValues)
Parameters
falseValues
string[]The false values.
Properties
FalseValues
Gets the false values.
public string[] FalseValues { get; }
Property Value
- string[]
Methods
ApplyTo(MemberMap)
public void ApplyTo(MemberMap memberMap)
Parameters
memberMap
MemberMap
ApplyTo(ParameterMap)
public void ApplyTo(ParameterMap parameterMap)
Parameters
parameterMap
ParameterMap