Else(IEnumerable<IModule>) Method
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.
Namespace
Statiq.Core
Containing Type
ExecuteIf

Syntax

public IModule Else(IEnumerable<IModule> modules)

Parameters

Name Type Description
modules IEnumerable<IModule> The modules to execute on documents where no previous predicate was true.

Return Value

Type Description
IModule The current module instance.