TraceExceptionsExtensions.

Where(IEnumerable<IDocument>, IExecutionContext, Func<IDocument, bool>) Method

Summary

Evaluates a LINQ Where method and traces any exceptions.

Syntax

public static IEnumerable<IDocument> Where(this IEnumerable<IDocument> source, IExecutionContext context, Func<IDocument, bool> predicate)

Parameters

Name Type Description
source IEnumerable<IDocument> The source sequence.
context IExecutionContext The execution context.
predicate Func<IDocument, bool> The predicate function.

Return Value

Type Description
IEnumerable<IDocument> The result sequence.
GitHub