Skip to main content

Zeres Plugin Library May 2026

dotnet add package ZeresPluginLibrary Create a shared interface that both host and plugins reference:

using ZeresPluginLibrary; public class MyApplication : IAppHost

this.host = host as IAppHost; host.Log("HelloWorld plugin loaded"); zeres plugin library

Install-Package ZeresPluginLibrary Or via .NET CLI:

host.Log("Plugin enabled - Hello, world!"); host.Log("HelloWorld plugin loaded")

The host application implements this to expose services to plugins (logging, configuration, API access). 3. PluginAttribute Metadata for plugin identification:

public virtual void OnLoad(IPluginHost host) public virtual void OnEnable() public virtual void OnDisable() public virtual void OnUnload() zeres plugin library

public override void OnEnable()