Interface IExcelRowMap<T>
Implemented by the source generator (feature A) — or by hand, before the generator runs — on the
row model type itself, which must be partial. The static abstract member
turns "no map was generated for this model" into a compile error (T fails
the where T : IExcelRowMap<T> constraint on Generated<T>(ExcelParserOptions?))
instead of a silent runtime fallback to reflection.
public interface IExcelRowMap<T> where T : allows ref struct
Type Parameters
TThe row model type this map configures.
Methods
ConfigureExcelRowMap(ExcelRowMapBuilder<T>)
Configures builder with one binding per mapped property.
public static abstract void ConfigureExcelRowMap(ExcelRowMapBuilder<T> builder)
Parameters
builderExcelRowMapBuilder<T>The builder to configure.