AssemblySorter.TSort<T> method
namespace: Serenity.Reflection assembly: Serenity.Net.Core
A generic dependency sort function
public static IEnumerable<T> TSort<T>(IEnumerable<T> source, Func<T, IEnumerable<T>> dependencies,
bool throwOnCycle = false)
| parameter | description |
|---|---|
| T | Type of items |
| source | The source. |
| dependencies | The dependencies. |
| throwOnCycle | if set to true throw on circular link. |
See Also
- class T
- class AssemblySorter