IHarmonyHost interface
Per-plugin owner of Harmony instances. Plugins still author their own patch classes, but obtain the Harmony from here so the framework guarantees id uniqueness (namespaced to the plugin) and unpatches every instance automatically when the plugin is disposed — a plugin can no longer leak an un-unpatched instance across a soft enable/disable cycle. Pairs with FindMethod for resolving patch targets.
public interface IHarmonyHostMembers
Section titled “Members”| name | description |
|---|---|
| Create(…) | Creates a Harmony instance owned by this plugin. Its id is the plugin id, or "<pluginId>.<suffix>" when suffix is non-empty (use a suffix to hold several independently-unpatchable instances). All instances created here are unpatched on plugin dispose. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services