AsyncEnumerable.Reverse<TSource> Método

Definición

Invierte el orden de los elementos de una secuencia.

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

Tipo de los elementos de origen.

Parámetros

source
IAsyncEnumerable<TSource>

Secuencia de valores que se van a invertir.

Devoluciones

IAsyncEnumerable<TSource>

Secuencia cuyos elementos corresponden a los de la secuencia de entrada en orden inverso.

Excepciones

source es null.

Se aplica a