Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Owns the active managed assembly catalog and transactional module generations.

API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Extensibility.Modules

public sealed class Inno.Extensibility.Modules.ModuleHost : System.IDisposable
Kind Element Description
Constructors ModuleHost.Constructor Creates a module host from the explicitly supplied assembly source and publishes its first catalog.
Methods ModuleHost.BeginReload(Inno.Extensibility.Modules.AssemblyModuleHandle,Inno.Extensibility.Modules.IModuleSource) Stages and validates a replacement generation without publishing it.
Methods ModuleHost.BeginReload(System.Collections.Generic.IReadOnlyList{Inno.Extensibility.Modules.IModuleSource}) Stages a dependency-ordered set of module additions or replacements as one atomic transaction. Existing modules are matched by their stable module names; an unknown name creates a new module.
Methods ModuleHost.BeginReload(System.Collections.Generic.IReadOnlyList{Inno.Extensibility.Modules.IModuleSource},System.Collections.Generic.IReadOnlyList{System.String}) Stages additions, replacements, and removals as one atomic dependency-ordered transaction.
Methods ModuleHost.Dispose Unsubscribes assembly discovery and begins unload of every module owned by this host.
Methods ModuleHost.Load Prepares and activates a new module contribution through its selected source.
Methods ModuleHost.Rebuild Rebuilds the active assembly catalog and every registered derived-state participant.
Methods ModuleHost.Refresh Applies pending host assembly changes without rebuilding an unchanged catalog.
Methods ModuleHost.Register Registers assemblies owned by an external load context.
Methods ModuleHost.RegisterCatalogParticipant Registers a transactional consumer of the assembly catalog and initializes it from the currently active generation.
Methods ModuleHost.Unload(Inno.Extensibility.Modules.AssemblyModuleHandle) Removes an active module and starts cooperative unload when it is manager-owned.
Methods ModuleHost.Unload(System.Collections.Generic.IReadOnlyList{Inno.Extensibility.Modules.AssemblyModuleHandle}) Removes several active modules in one catalog transaction, then requests unload in reverse dependency order.
Properties ModuleHost.generations Gets the admission gate and retirement owner shared by all module and host generation changes.
Properties ModuleHost.isInitialized Gets whether this module host can accept catalog operations.
Properties ModuleHost.modules Gets non-owning information about active managed and external modules.