Exemple #1
0
        public bool HasCycles()
        {
            var cycles = _cycleDetector.FindCycles().ToList();

            return(cycles.Count() > 0);
        }
Exemple #2
0
 public bool HasCycles(out List <Cycle> cycles)
 {
     cycles = _cycleDetector.FindCycles().ToList();
     return(cycles.Count() > 0);
 }