Synced
DependencyGraph<TKey>.TopologicalSort
Section titled “DependencyGraph<TKey>.TopologicalSort”
- Returns an order in which every dependency precedes its dependents.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Collections
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyList<TKey> Inno.Core.Collections.DependencyGraph<TKey>.TopologicalSort()Returns
Section titled “Returns”A deterministic topological ordering.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when the graph contains a cycle. The exception message contains a complete cycle.