CsvConverterAttribute Class
Sets the converter of a property or a field.
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class CsvConverterAttribute : CsvAttribute- Inheritance
CsvAttributeCsvConverterAttribute
Constructors
| Name | Description |
|---|---|
| CsvConverterAttribute(Type) | Sets the converter of a property or a field. |
CsvConverterAttribute(Type)
CsvConverterAttribute.csSets the converter of a property or a field.
public CsvConverterAttribute(Type converterType)Parameters
converterTypeType- The type of the converter, a
CsvConverter<T>or aCsvConverterFactorywith a public parameterless constructor.
Properties
| Name | Description |
|---|---|
| ConverterType | Gets the type of the converter. |