Zeres Plugin Library May 2026
The host application implements this to expose services to plugins (logging, configuration, API access). 3. PluginAttribute Metadata for plugin identification:
[Plugin("PluginB", DependsOn = new[] "PluginA" )] public class PluginB : PluginBase ... The library includes a lightweight event aggregator: zeres plugin library
host.Log("Plugin enabled - Hello, world!"); The host application implements this to expose services
public void Start()
[Plugin("My Plugin", Author = "Jane", Version = "1.0.0")] public class MyPlugin : PluginBase ... The main engine that discovers, validates, and instantiates plugins. Getting Started (Step-by-Step) Step 1: Install the Library Via NuGet Package Manager: public void Start() [Plugin("My Plugin"
private PluginLoader loader;
dotnet add package ZeresPluginLibrary Create a shared interface that both host and plugins reference:
