![]() |
Terraria ModLoader
0.11.1
A framework for Terraria mods
|
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 |
Static Private Member Functions | |
static void | BuildSet (T t, IDictionary< T, List< T >> dict, ISet< T > set) |
Private Attributes | |
IDictionary< T, List< T > > | dependencyDict = new Dictionary<T, List<T>>() |
IDictionary< T, List< T > > | dependentDict = new Dictionary<T, List<T>>() |
Definition at line 8 of file TopoSort.cs.
Terraria.ModLoader.TopoSort< T >.TopoSort | ( | IEnumerable< T > | elements, |
Func< T, IEnumerable< T >> | dependencies = null , |
||
Func< T, IEnumerable< T >> | dependents = null |
||
) |
Definition at line 29 of file TopoSort.cs.
void Terraria.ModLoader.TopoSort< T >.AddEntry | ( | T | dependency, |
T | dependent | ||
) |
Definition at line 42 of file TopoSort.cs.
ISet<T> Terraria.ModLoader.TopoSort< T >.AllDependencies | ( | T | t | ) |
Definition at line 71 of file TopoSort.cs.
ISet<T> Terraria.ModLoader.TopoSort< T >.AllDependendents | ( | T | t | ) |
Definition at line 77 of file TopoSort.cs.
|
staticprivate |
Definition at line 51 of file TopoSort.cs.
List<T> Terraria.ModLoader.TopoSort< T >.Dependencies | ( | T | t | ) |
Definition at line 61 of file TopoSort.cs.
List<T> Terraria.ModLoader.TopoSort< T >.Dependents | ( | T | t | ) |
Definition at line 66 of file TopoSort.cs.
List<T> Terraria.ModLoader.TopoSort< T >.Sort | ( | ) |
Definition at line 83 of file TopoSort.cs.
|
private |
Definition at line 26 of file TopoSort.cs.
|
private |
Definition at line 27 of file TopoSort.cs.
readonly ReadOnlyCollection<T> Terraria.ModLoader.TopoSort< T >.list |
Definition at line 25 of file TopoSort.cs.