Summary
Specifies an alternate condition to be tested on documents that did not satisfy
previous conditions. You can chain together as many ElseIf
calls as needed.
The predicate will be evaluated once for all input documents.
Syntax
public If ElseIf(ContextConfig predicate, params IModule[] modules)
Parameters
Name |
Type |
Description |
predicate |
ContextConfig |
A predicate delegate that should return a bool . |
modules |
IModule[] |
The modules to execute on documents if the predicate is true . |
Return Value
Type |
Description |
If |
The current module instance. |