Class TopologicalSort<T>
Class for sorting lists topologically.
Inheritance
System.Object
TopologicalSort<T>
Namespace: Sdl.Core.PluginFramework.Util
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public static class TopologicalSort<T> : Object 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 |
---|---|---|
System.Collections.Generic.IList<T> | items | List of items to sort. |