AsyncEnumerable.Concat<TSource> Méthode

Définition

Concatène deux séquences.

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)

Paramètres de type

TSource

Type des éléments des séquences d’entrée.

Paramètres

first
IAsyncEnumerable<TSource>

Première séquence à concaténer.

second
IAsyncEnumerable<TSource>

Séquence à concaténer à la première séquence.

Retours

IAsyncEnumerable<TSource>

Qui IAsyncEnumerable<T> contient les éléments concaténés des deux séquences d’entrée.

Exceptions

second a la valeur null.

S’applique à