public static AutoTreeSortedList <T, TId, TSortKey> Create <TId, TSortKey>( SelectId <T, TId> selectId, SelectParentId <T, TId> selectParentId, IdComparer <TId> idComparer, SelectSortKey <T, TSortKey> selectSortKey, SortKeyComparer <TSortKey> sortKeyComparer) where TId : struct { return(new AutoTreeSortedList <T, TId, TSortKey>( selectId, selectParentId, idComparer, selectSortKey, sortKeyComparer)); }
public static GroupedTreeList <T, TId, TSortKey, TGroupKey> Create <TId, TSortKey, TGroupKey>( SelectId <T, TId> selectId, SelectParentId <T, TId> selectParentId, IdComparer <TId> idComparer, SelectSortKey <T, TSortKey> selectSortKey, SortKeyComparer <TSortKey> sortKeyComparer, SelectGroupKey <T, TGroupKey> selectGroupKey, GroupKeyComparer <TGroupKey> groupKeyComparer, IEnumerable <TGroupKey> groups, GroupedTreeSeparator separator) where TId : struct { return(new GroupedTreeList <T, TId, TSortKey, TGroupKey>( selectId, selectParentId, idComparer, selectSortKey, sortKeyComparer, selectGroupKey, groupKeyComparer, groups, separator)); }