AsyncEnumerable.Reverse<TSource> Метод

Определение

Инвертирует порядок элементов в последовательности.

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

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

TSource

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

Параметры

source
IAsyncEnumerable<TSource>

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

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

IAsyncEnumerable<TSource>

Последовательность, элементы которой соответствуют входной последовательности в обратном порядке.

Исключения

source равно null.

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