Synced
PluginEnvironment
Section titled “PluginEnvironment”
- Owns automatic installed Plugin source discovery and atomically publishes Asset mounts, settings contributors, and the active Plugin catalog on the Asset Database owner thread.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Plugins.Authoring
Declaration
Section titled “Declaration”public sealed class Inno.Plugins.Authoring.PluginEnvironment : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | PluginEnvironment.Constructor | Creates automatic Plugin discovery around one asset pipeline and project settings store. |
| Events | PluginEnvironment.ActivationCandidateChanged | Occurs after a validated Plugin generation is staged for script compilation but before it becomes active. |
| Events | PluginEnvironment.Changed | Occurs after discovery diagnostics or the active Plugin generation changes. |
| Methods | PluginEnvironment.ActivatePending | Provisionally publishes at the shared generation safety point; the owning change must roll back failures. |
| Methods | PluginEnvironment.ApplyPendingChange | Commits a non-code availability change using the same generation gate and recovery phases as script reload. |
| Methods | PluginEnvironment.CommitPending | Commits the pending mount generation after scripts, assets, settings, and registries activate. |
| Methods | PluginEnvironment.CreateReloadChange | Captures Plugin availability, Asset mounts and effective settings as one shared recovery participant. |
| Methods | PluginEnvironment.Dispose | Stops automatic discovery without deleting Plugin sources or rebuildable extraction caches. |
| Methods | PluginEnvironment.Refresh | Forces validation and prepares or commits one atomic Plugin availability generation. |
| Methods | PluginEnvironment.RollbackPending | Restores the complete last-good mount, catalog, and settings contributor generation. |
| Methods | PluginEnvironment.TryGet | Tries to resolve the active Plugin that owns an asset source. |
| Methods | PluginEnvironment.TryGetCompilationPlugin | Resolves a Plugin owned by the active or pending script-compilation generation. |
| Methods | PluginEnvironment.Update | Processes debounced Plugin source notifications and completed background reconciliation. |
| Properties | PluginEnvironment.activePlugins | Gets the dependency-ordered active Plugin generation. |
| Properties | PluginEnvironment.compilationAssets | Gets the isolated Asset candidate used by the next Plugin script compilation. |
| Properties | PluginEnvironment.compilationPlugins | Gets the Plugin candidates visible to the next script compilation. |
| Properties | PluginEnvironment.discovery | Gets the latest installed Plugin discovery and isolated diagnostics. |
| Properties | PluginEnvironment.hasPendingActivation | Gets whether a source-mount candidate is waiting for successful script generation activation. |
| Properties | PluginEnvironment.isInitialized | Gets whether project Plugin management is initialized. |
| Properties | PluginEnvironment.revision | Gets the monotonic identity of the active Plugin generation. |