Class TopologicalSort<T>
Class for sorting lists topologically.
Inherited Members
Namespace: SdlSdl.CorePluginFrameworkUtil
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public static class TopologicalSort<T> where T : ITopologicalSortable
Type Parameters
Name | Description |
---|---|
T | The type of item to sort. Needs to implement or extend the ITopologicalSortable interface. |
Methods
Sort(IList<T>)
Sorts the specified list topologically.
Declaration
public static void Sort(IList<T> items)
Parameters
Type | Name | Description |
---|---|---|
IList | items | List of items to sort. |