แก้ไข

แชร์ผ่าน


AsyncEnumerable.Concat<TSource> Method

Definition

Concatenates two sequences.

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

The first sequence to concatenate.

second
IAsyncEnumerable<TSource>

The sequence to concatenate to the first sequence.

Returns

IAsyncEnumerable<TSource>

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

Exceptions

second is null.

Applies to