AsyncEnumerable.Concat<TSource> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Qui IAsyncEnumerable<T> contient les éléments concaténés des deux séquences d’entrée.
Exceptions
second a la valeur null.