Summary
Evaluates a LINQ
Where method and traces any exceptions.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Execution - Containing Type
- Trace
Exceptions Extensions
Syntax
public static IEnumerable<IDocument> Where(this IEnumerable<IDocument> source, IExecutionContext context, Func<IDocument, bool> predicate)
Parameters
| Name | Type | Description |
|---|---|---|
| source | IEnumerable |
The source sequence. |
| context | IExecutionContext | The execution context. |
| predicate | Func |
The predicate function. |
Return Value
| Type | Description |
|---|---|
| IEnumerable |
The result sequence. |
