AsyncEnumerable.Concat<TSource> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
连接两个序列。
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> 包含两个输入序列的串联元素。
例外
second 是 null。