Share via


ImmutableList<T>.Builder.ConvertAll<TOutput> Yöntem

Tanım

Dönüştürücü işlevini kullanarak bu oluşturucu tarafından temsil edilen listeden yeni bir sabit liste oluşturur.

public:
generic <typename TOutput>
 virtual System::Collections::Immutable::ImmutableList<TOutput> ^ ConvertAll(Func<T, TOutput> ^ converter);
public:
generic <typename TOutput>
 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>
member 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)

Tür Parametreleri

TOutput

Temsilci dönüştürücü işlevinin çıkış türü.

Parametreler

converter
Func<T,TOutput>

Dönüştürücü işlevi.

Döndürülenler

ImmutableList<TOutput>

Bu oluşturucu tarafından temsil edilen listeden yeni bir sabit liste.

Şunlara uygulanır