Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Tries to find one complete cycle in the graph.

API: engine
Project: Inno.Core.Collections

public bool Inno.Core.Collections.DependencyGraph<TKey>.TryFindCycle(out System.Collections.Generic.IReadOnlyList<TKey> cycle)

Parameter cycle: A closed cycle whose first and last nodes are equal, or an empty list when acyclic.

true when a cycle was found.