Language

AsyncEnumerable.Concat Method

Definition

Concatenates two sequences.

public:
generic 
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable ^ Concat(System::Collections::Generic::IAsyncEnumerable ^ first, System::Collections::Generic::IAsyncEnumerable ^ second);
public static System.Collections.Generic.IAsyncEnumerable Concat(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second);
static member Concat : System.Collections.Generic.IAsyncEnumerable<'Source> * System.Collections.Generic.IAsyncEnumerable<'Source> -> System.Collections.Generic.IAsyncEnumerable<'Source>

Public Function Concat(Of TSource) (first As IAsyncEnumerable(Of TSource), second As IAsyncEnumerable(Of TSource)) As IAsyncEnumerable(Of TSource)

Type Parameters

TSource

The type of the elements of the input sequences.

Parameters

first
IAsyncEnumerable

The first sequence to concatenate.

second
IAsyncEnumerable

The sequence to concatenate to the first sequence.

Returns

An IAsyncEnumerable that contains the concatenated elements of the two input sequences.

Exceptions

second is null.

Applies to