GroupBy.

GroupBy(string, IModule[]) Constructor

Summary

Partitions the result of the specified modules into groups with matching keys based on the value at the specified metadata key. If a document to group does not contain the specified metadata key, it is not included in any output groups. The input documents to GroupBy are used as the initial input documents to the specified modules.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
GroupBy

Syntax

public GroupBy(string keyMetadataKey, params IModule[] modules)

Parameters

Name Type Description
keyMetadataKey string The key metadata key.
modules IModule[] Modules to execute on the input documents prior to grouping.

Return Value

Type Description
void
GitHub