Terraria ModLoader  0.10.1.5
A framework for Terraria mods
Terraria.ModLoader.TopoSort< T >.SortingException Class Reference
+ Inheritance diagram for Terraria.ModLoader.TopoSort< T >.SortingException:
+ Collaboration diagram for Terraria.ModLoader.TopoSort< T >.SortingException:

Public Member Functions

void Add (List< T > cycle)
 

Public Attributes

IList< List< T > > cycles = new List<List<T>>()
 
override string Message => string.Join(Environment.NewLine, cycles.Select(CycleToString))
 
ISet< T > set = new HashSet<T>()
 

Private Member Functions

string CycleToString (List< T > cycle)
 

Detailed Description

Definition at line 10 of file TopoSort.cs.

Member Function Documentation

void Terraria.ModLoader.TopoSort< T >.SortingException.Add ( List< T >  cycle)

Definition at line 18 of file TopoSort.cs.

18  {
19  cycles.Add(cycle);
20  foreach (var e in cycle)
21  set.Add(e);
22  }
string Terraria.ModLoader.TopoSort< T >.SortingException.CycleToString ( List< T >  cycle)
private

Member Data Documentation

IList<List<T> > Terraria.ModLoader.TopoSort< T >.SortingException.cycles = new List<List<T>>()

Definition at line 13 of file TopoSort.cs.

override string Terraria.ModLoader.TopoSort< T >.SortingException.Message => string.Join(Environment.NewLine, cycles.Select(CycleToString))

Definition at line 16 of file TopoSort.cs.

ISet<T> Terraria.ModLoader.TopoSort< T >.SortingException.set = new HashSet<T>()

Definition at line 12 of file TopoSort.cs.