TraceExceptionsExtensions.

SelectMany(ParallelQuery<IDocument>, IExecutionContext, Func<IDocument, IEnumerable<IDocument>>) Method

Summary

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

Syntax

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

Parameters

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

Return Value

Type Description
ParallelQuery<IDocument> The result query.
GitHub