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> , содержащий объединенные элементы двух входных последовательностей.

Исключения

second равно null.

Применяется к