TraceExceptionsExtensions.

Select(ParallelQuery<IDocument>, IExecutionContext, Func<IDocument, IDocument>) Method

Summary

Evaluates a PLINQ Select method over a sequence of Wyam.Common.Documents.IDocument and traces any exceptions.

Syntax

public static ParallelQuery<IDocument> Select(this ParallelQuery<IDocument> query, IExecutionContext context, Func<IDocument, IDocument> selector)

Parameters

Name Type Description
query ParallelQuery<IDocument> The source query.
context IExecutionContext The execution context.
selector Func<IDocument, IDocument> The selector function.

Return Value

Type Description
ParallelQuery<IDocument> The result query.
GitHub