Skip to content
Project referenceDevelopmentEngine ccf7d03f

Explicit host assembly catalogs, collectible module sources and reflection facts for dynamic authoring hosts.

Read the linked task or ownership explanation before using the exact API below.

Load code in an authoring host explains explicit assembly/dependency roots, shadow generation ownership, candidate preparation, reflection facts and retirement probes. Neutral Modules/Types/Reload contracts do not depend on this implementation; authoring composition injects it, while static Players consume generated catalogs.

DotNetModuleSource requires its module name, main assembly and owned artifact root. Prepare returns a frozen contribution and source lifetime. The caller coordinates BeginReload, activation, completion and retirement through the shared transaction. A timeout does not turn a retained collectible generation into a success.

DotNetAssemblyCatalogSource follows only explicit roots and their owning SDK manifests, keeps CLR references in the host context and unregisters notifications on disposal. A host must deploy its own manifest/runtime closure. ReflectionTypeCatalogSource provides candidate-time declarations and lifecycle metadata; it does not scan on each frame. User constructor failures retain their original exceptions. Private ALC, weak-monitor and dependency-resolver implementations are not plugin protocols.

Supply existing live dependencies. This example checks the host contract; it does not initialize a complete product or certify a physical device.

using Inno.Adapter.Modules.DotNet;
using Inno.Extensibility.Modules;
static DotNetModuleSource DescribeModule(
string compiledPath,
string ownedCacheRoot
) {
return new DotNetModuleSource
{
moduleName = "RuntimeScripts",
mainAssemblyPath = compiledPath,
artifactRootDirectory = ownedCacheRoot,
domain = AssemblyDomain.InnoScripting,
scope = AssemblyScope.Runtime,
collectible = true
};
}

The source project defines the selected host declarations. Script projection and platform execution require their separate evidence.

Types and exact member contracts retain declarations and source XML from the recorded engine capture.