[Plugin("PluginB", DependsOn = new[] "PluginA" )] public class PluginB : PluginBase ... The library includes a lightweight event aggregator:
// SharedContracts.dll public interface IAppHost zeres plugin library
private IAppHost host;
loader = new PluginLoader("./Plugins", this); loader.LoadPlugins(); foreach (var plugin in loader.Plugins) plugin.OnEnable(); loader = new PluginLoader("./Plugins"