AsyncEnumerable.Reverse<TSource> Método

Definição

Inverte a ordem dos elementos em uma sequência.

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)

Parâmetros de tipo

TSource

O tipo dos elementos de origem.

Parâmetros

source
IAsyncEnumerable<TSource>

Uma sequência de valores a serem revertidos.

Retornos

IAsyncEnumerable<TSource>

Uma sequência cujos elementos correspondem aos da sequência de entrada em ordem inversa.

Exceções

source é null.

Aplica-se a