If.

WithoutUnmatchedDocuments(bool) Method

Summary

The default behavior of this module is to "fall through" any documents that didn't match one of the conditions and add it to the result set. This method allows you to change that behavior and prevent unmatched documents from being added to the result set.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
If

Syntax

public If WithoutUnmatchedDocuments(bool withoutUnmatchedDocuments = true)

Parameters

Name Type Description
withoutUnmatchedDocuments bool Set to true to prevent unmatched documents from being added to the resut set.

Return Value

Type Description
If The current module.
GitHub