Table of Contents

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

items IEnumerable<T>

The items. Enumerated once, when the block is filled.

Returns

XlsxTemplateList

The list.

Type Parameters

T

The type of the items, whose public readable properties are their members.

Exceptions

ArgumentNullException

items is null.