AsyncEnumerable.Append<TSource> Метод

Определение

Добавляет значение в конец последовательности.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ Append(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source, TSource element);
public static System.Collections.Generic.IAsyncEnumerable<TSource> Append<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, TSource element);
static member Append : System.Collections.Generic.IAsyncEnumerable<'Source> * 'Source -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Append(Of TSource) (source As IAsyncEnumerable(Of TSource), element As TSource) As IAsyncEnumerable(Of TSource)

Параметры типа

TSource

Тип элементов источника.

Параметры

source
IAsyncEnumerable<TSource>

Последовательность значений.

element
TSource

Значение, добавляемое к источнику.

Возвращаемое значение

IAsyncEnumerable<TSource>

Новая последовательность, заканчивающаяся элементом.

Исключения

source равно null.

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