Summary
Partitions the result of the specified modules into the specified number of pages. The
input documents to Paginate are used as the initial input documents to the specified modules.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Control - Containing Type
- Paginate
Syntax
public Paginate(int pageSize, IEnumerable<IModule> modules)
Parameters
Name | Type | Description |
---|---|---|
pageSize | int | The number of documents on each page. |
modules | IEnumerable |
The modules to execute to get the documents to page. |
Return Value
Type | Description |
---|---|
void |