Summary
Partitions the result of the specified modules into groups with matching keys
based on the key delegate.
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(DocumentConfig key, IEnumerable<IModule> modules)
Parameters
Name | Type | Description |
---|---|---|
key | DocumentConfig | A delegate that returns the group key. |
modules | IEnumerable |
Modules to execute on the input documents prior to grouping. |
Return Value
Type | Description |
---|---|
void |