tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.TopoSort< T > Class Template Reference

Classes

class  SortingException
 

Public Member Functions

 TopoSort (IEnumerable< T > elements, Func< T, IEnumerable< T >> dependencies=null, Func< T, IEnumerable< T >> dependents=null)
 
void AddEntry (T dependency, T dependent)
 
ISet< T > AllDependencies (T t)
 
ISet< T > AllDependendents (T t)
 
List< T > Dependencies (T t)
 
List< T > Dependents (T t)
 
List< T > Sort ()
 

Public Attributes

readonly ReadOnlyCollection< T > list