AsyncEnumerable.Concat<TSource> Metod

Definition

Sammanfogar två sekvenser.

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)

Typparametrar

TSource

Typ av element i indatasekvenserna.

Parametrar

first
IAsyncEnumerable<TSource>

Den första sekvensen som sammanfogas.

second
IAsyncEnumerable<TSource>

Sekvensen som ska sammanfogas till den första sekvensen.

Returer

IAsyncEnumerable<TSource>

En IAsyncEnumerable<T> som innehåller de sammanfogade elementen i de två indatasekvenserna.

Undantag

second är null.

Gäller för