ImmutableList<T>.Builder.ConvertAll<TOutput> Metoda

Definicja

Tworzy nową niezmienną listę z listy reprezentowanej przez tego konstruktora przy użyciu funkcji konwertera.

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)

Parametry typu

TOutput

Typ danych wyjściowych funkcji konwertera delegata.

Parametry

converter
Func<T,TOutput>

Funkcja konwertera.

Zwraca

ImmutableList<TOutput>

Nowa niezmienna lista z listy reprezentowanej przez tego konstruktora.

Dotyczy