Class TopologicalExtensions
This contains Extension methods for Topological Sorting
Inherited Members
Namespace: Sdl.Core.PluginFramework.Util
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<T> | items | ITopologicalSortable items |
Returns
| Type | Description |
|---|---|
| IEnumerable<T> | Sorted items |
Type Parameters
| Name | Description |
|---|---|
| T | ITopologicalSortable type |