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 against every input document individually.
Syntax
public If ElseIf(DocumentConfig predicate, params IModule[] modules)
Parameters
Name |
Type |
Description |
predicate |
DocumentConfig |
A predicate delegate that should return a bool . |
modules |
IModule[] |
The modules to execute on documents where the predicate is true . |
Return Value
Type |
Description |
If |
The current module instance. |