ReadDataModule<TModule, TItem>.

GetItems(IReadOnlyList<IDocument>, IExecutionContext) Method

Summary

Gets the items to convert to documents. The Wyam.Common.Modules.ReadDataModule`2.GetDictionary(`1) method is used to convert each item into a series of key-value pairs that is then used for document creation.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
ReadDataModule<TModule, TItem>

Syntax

protected abstract IEnumerable<TItem> GetItems(IReadOnlyList<IDocument> inputs, IExecutionContext context)

Parameters

Name Type Description
inputs IReadOnlyList<IDocument> The input documents.
context IExecutionContext The current execution context.

Return Value

Type Description
IEnumerable<TItem> The objects to create documents from.
GitHub