| | | 1 | | namespace ArturRios.Data.Export.Abstractions; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// Marker registered by the Excel add-on so the core factory can resolve the Excel exporter without a |
| | | 5 | | /// compile-time reference to it. Carries the open-generic exporter type. |
| | | 6 | | /// </summary> |
| | | 7 | | /// <param name="exporterType">The open-generic Excel exporter type, e.g. <c>typeof(ExcelExporter<>)</c>.</param> |
| | 1 | 8 | | public sealed class ExcelExporterRegistration(Type exporterType) |
| | | 9 | | { |
| | | 10 | | /// <summary>The open-generic Excel exporter type.</summary> |
| | 2 | 11 | | public Type ExporterType { get; } = exporterType; |
| | | 12 | | } |