ImmutableList<T>.Builder.ConvertAll<TOutput> Método

Definição

Cria uma nova lista imutável a partir da lista representada por este construtor usando a função conversor.

public:
generic <typename TOutput>
 virtual System::Collections::Immutable::ImmutableList<TOutput> ^ ConvertAll(Func<T, TOutput> ^ converter);
public System.Collections.Immutable.ImmutableList<TOutput> ConvertAll<TOutput>(Func<T,TOutput> converter);
abstract member ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
override this.ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
Public Function ConvertAll(Of TOutput) (converter As Func(Of T, TOutput)) As ImmutableList(Of TOutput)

Parâmetros de Tipo Genérico

TOutput

O tipo de saída da função de conversor de delegado.

Parâmetros

converter
Func<T,TOutput>

A função do conversor.

Devoluções

ImmutableList<TOutput>

Uma nova lista imutável da lista representada por este construtor.

Aplica-se a