The string values used to represent a boolean true when converting.
- Namespace
- CsvHelper
.Configuration .Attributes - Interfaces
- Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type-.->Interface0["IMemberMapper"]
click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IMemberMapper"
Type-.->Interface1["IParameterMapper"]
click Interface1 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IParameterMapper"
Type["BooleanTrueValuesAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class BooleanTrueValuesAttribute : Attribute, IMemberMapper, IParameterMapper
Attributes
Type | Description |
---|---|
AttributeUsage |
Constructors
Name | Summary |
---|---|
Boolean |
The string values used to represent a boolean true when converting. |
Boolean |
The string values used to represent a boolean true when converting. |
Properties
Name | Property Type | Summary |
---|---|---|
TrueValues | string[] |
Gets the true values.
|
Methods
Name | Return Value | Summary |
---|---|---|
ApplyTo |
void |
Applies configuration to the given
MemberMap .
|
ApplyTo |
void |
Applies configuration to the given
ParameterMap .
|