WithoutUnmatchedDocuments(bool) Method
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.
Namespace
Statiq.Core
Containing Type
ExecuteSources

Syntax

public ExecuteSources 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
ExecuteSources The current module.