Where Class

Summary

Filters the current sequence of modules using a predicate.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IModule"] click Interface0 "/api/Wyam.Common.Modules/IModule" Type["Where"] class Type type-node

Syntax

public class Where : IModule

Constructors

Name Summary
Where(DocumentConfig) Specifies the predicate to use for filtering documents. Only input documents for which the predicate returns true will be output.

Methods

Name Value Summary
Execute(IReadOnlyList<IDocument>, IExecutionContext) IEnumerable<IDocument>
This should not be called directly, instead call IExecutionContext.Execute() if you need to execute a module from within another module.
GitHub