Xml.

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.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
Xml

Syntax

protected override IEnumerable<Dictionary<string, Object>> 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<Dictionary<string, Object>> The objects to create documents from.
GitHub