When applied to a member, specifies the
CultureInfo
used when type converting the member. When applied to a type, the value of
CultureInfo in the CsvConfiguration
returned by FromAttributes<T>()
- Namespace
- CsvHelper
.Configuration .Attributes - Interfaces
- Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type-.->Interface0["IClassMapper"]
click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper"
Type-.->Interface1["IMemberMapper"]
click Interface1 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IMemberMapper"
Type-.->Interface2["IParameterMapper"]
click Interface2 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IParameterMapper"
Type["CultureInfoAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class CultureInfoAttribute : Attribute, IClassMapper, IMemberMapper, IParameterMapper
Attributes
| Type | Description |
|---|---|
| AttributeUsage |
Constructors
| Name | Summary |
|---|---|
| CultureInfoAttribute |
Properties
| Name | Property Type | Summary |
|---|---|---|
| CultureInfo | CultureInfo |
Gets the culture info.
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| ApplyTo |
void |
Applies configuration.
|
| ApplyTo |
void |
Applies configuration to the given
MemberMap.
|
| ApplyTo |
void |
Applies configuration to the given
ParameterMap.
|