2using System.Collections.Generic;
3using System.Reflection;
20 Type TypeX = x.GetType();
21 Type TypeY = y.GetType();
24 bool XDependsOnY =
false;
25 bool YDependsOnX =
false;
27 if (!(AttrsX is
null))
39 if (!(AttrsY is
null))
51 int i = XDependsOnY.CompareTo(YDependsOnX);
55 return TypeX.FullName.CompareTo(TypeY.FullName);
Orders modules in dependency order.
int Compare(IModule x, IModule y)
Compares two modules.
Defines a module dependency for a module class. Modules are started after a dependency,...
bool DependsOn(IModule Module)
Checks if there is a dependency on a given module.
Interface for late-bound modules loaded at runtime.