AsyncEnumerable.Concat<TSource> 方法

定义

连接两个序列。

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)

类型参数

TSource

输入序列的元素的类型。

参数

first
IAsyncEnumerable<TSource>

要连接的第一个序列。

second
IAsyncEnumerable<TSource>

要连接到第一个序列的序列。

返回

IAsyncEnumerable<TSource>

一个 IAsyncEnumerable<T> 包含两个输入序列的串联元素。

例外

secondnull

适用于