Method From
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
From<T>(IEnumerable<T>)
Wraps a list of objects for a template's block.
public static XlsxTemplateList From<T>(IEnumerable<T> items)
Parameters
itemsIEnumerable<T>The items. Enumerated once, when the block is filled.
Returns
- XlsxTemplateList
The list.
Type Parameters
TThe type of the items, whose public readable properties are their members.
Exceptions
- ArgumentNullException
itemsis null.