AvaloniaListExtensions.

CreateDerivedList<TSource, TDerived>(IAvaloniaReadOnlyList<TSource>, Func<TSource, TDerived>) Method

Namespace
Avalonia.Collections
Containing Type
AvaloniaListExtensions

Syntax

[Obsolete("Causes memory leaks. Use DynamicData or similar instead.")]
public static IAvaloniaReadOnlyList<TDerived> CreateDerivedList<TSource, TDerived>(this IAvaloniaReadOnlyList<TSource> collection, Func<TSource, TDerived> select)

Attributes

Type Description
ObsoleteAttribute

Type Parameters

Name Description
TSource
TDerived

Parameters

Name Type Description
collection IAvaloniaReadOnlyList<TSource>
select Func<TSource, TDerived>

Return Value

Type Description
IAvaloniaReadOnlyList<TDerived>