Zeres Plugin Library [extra Quality] May 2026
using ZeresPluginLibrary; public class MyApplication : IAppHost
// In Plugin A EventBus.Publish("DataReady", someData); // In Plugin B EventBus.Subscribe("DataReady", data => ... ); Plugins can declare compatibility: zeres plugin library
public void Start()
public void Log(string message) => Console.WriteLine($"[HOST] message"); public string GetConfig(string key) => ConfigurationManager.AppSettings[key]; using ZeresPluginLibrary; [Plugin("HelloWorld", Author = "Dev", Version = "1.0.0")] public class HelloWorldPlugin : PluginBase // In Plugin B EventBus.Subscribe("DataReady"
void Log(string message); string GetConfig(string key); public string GetConfig(string key) =>
dotnet add package ZeresPluginLibrary Create a shared interface that both host and plugins reference: