Table of Contents

Method ConcatArrays

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

ConcatArrays<TInput, TValue>(ISetWindowFieldsPartition<TInput>, Func<TInput, IEnumerable<TValue>>, SetWindowFieldsWindow)

Returns the concatenation of the selected arrays.

public static IEnumerable<TValue> ConcatArrays<TInput, TValue>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, IEnumerable<TValue>> selector, SetWindowFieldsWindow window = null)

Parameters

partition ISetWindowFieldsPartition<TInput>

The partition.

selector Func<TInput, IEnumerable<TValue>>

The selector that selects an array from the input document.

window SetWindowFieldsWindow

The window boundaries.

Returns

IEnumerable<TValue>

The concatenation of the selected arrays.

Type Parameters

TInput

The type of the input documents in the partition.

TValue

The type of the array elements.