Class ExcelConverterAttribute
Binds a custom IExcelCellConverter<T> to a property. The converter type must implement IExcelCellConverter<T> for the property's exact type and expose a public parameterless constructor.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class ExcelConverterAttribute : Attribute
- Inheritance
-
ExcelConverterAttribute
- Inherited Members
Constructors
ExcelConverterAttribute(Type)
Creates an attribute that binds the given converter type to the property.
public ExcelConverterAttribute(Type converterType)
Parameters
converterTypeType
Properties
ConverterType
The IExcelCellConverter<T> implementation to use for this property.
public Type ConverterType { get; }