If.

Else(IModule[]) Method

Summary

This should be at the end of your fluent method chain and will evaluate the specified child modules on all documents that did not satisfy previous predicates. The predicate will be evaluated against every input document individually.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
If

Syntax

public IModule Else(params IModule[] modules)

Parameters

Name Type Description
modules IModule[] The modules to execute on documents where no previous predicate was true.

Return Value

Type Description
IModule The current module instance.
GitHub