TraceExceptionsExtensions.

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

Summary

Evaluates a LINQ SelectMany method and traces any exceptions.

Syntax

public static IEnumerable<TResult> SelectMany<TResult>(this IEnumerable<IDocument> source, IExecutionContext context, Func<IDocument, IEnumerable<TResult>> selector)

Type Parameters

Name Description
TResult The type of the result.

Parameters

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

Return Value

Type Description
IEnumerable<TResult> The result sequence.
GitHub