TreeOrdering.Sort<TItem,TIdentity> method
namespace: Serenity.Services assembly: Serenity.Net.Services
public static List<TItem> Sort<TItem, TIdentity>(IEnumerable<TItem> items,
Func<TItem, TIdentity> getId, Func<TItem, TIdentity?> getParentId)
where TIdentity : struct
See Also
- class TItem
- struct TIdentity
- class TreeOrdering