// In Plugin A EventBus.Publish("DataReady", someData); // In Plugin B EventBus.Subscribe("DataReady", data => ... ); Plugins can declare compatibility:
host.Log("Plugin enabled - Hello, world!");
using ZeresPluginLibrary; public class MyApplication : IAppHost zeres plugin library
private IAppHost host;
Install-Package ZeresPluginLibrary Or via .NET CLI: // In Plugin A EventBus
[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 abstract class PluginBase
this.host = host as IAppHost; host.Log("HelloWorld plugin loaded");
// In Plugin A EventBus.Publish("DataReady", someData); // In Plugin B EventBus.Subscribe("DataReady", data => ... ); Plugins can declare compatibility:
host.Log("Plugin enabled - Hello, world!");
using ZeresPluginLibrary; public class MyApplication : IAppHost
private IAppHost host;
Install-Package ZeresPluginLibrary Or via .NET CLI:
[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 abstract class PluginBase
this.host = host as IAppHost; host.Log("HelloWorld plugin loaded");