Class TopologicalExtensions
This contains Extension methods for Topological Sorting
Inherited Members
Namespace: SdlSdl.CorePluginFrameworkUtil
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public static class TopologicalExtensions
Methods
TopologicalSort<T>(IEnumerable<T>)
Sort an Enumerable by the TopologicalSortable interface
Declaration
public static IEnumerable<T> TopologicalSort<T>(this IEnumerable<T> items) where T : ITopologicalSortable
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | items | ITopologicalSortable items |
Returns
Type | Description |
---|---|
IEnumerable | Sorted items |
Type Parameters
Name | Description |
---|---|
T | ITopologicalSortable type |