Class XlsxTemplateList
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
A list of objects for a template's block, whose members are read by name from the public properties of their type.
public sealed class XlsxTemplateList
- Inheritance
-
XlsxTemplateList
- Inherited Members
Remarks
A list of dictionaries, of DataRows, a DataTable or a DataView is given to a fill as it is. A list of objects of your own type, anonymous ones included, is given through From<T>(IEnumerable<T>): the type's properties are then known when the application is compiled, so a trimmed or NativeAOT application reads the same members as any other.
Members are matched case-insensitively unless MatchCase is set.
Methods
- From<T>(IEnumerable<T>)
Wraps a list of objects for a template's block.