Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Accepts explicit declarations and linked generic factories while a static catalog is being composed.

API: engine
Project: Inno.Extensibility.Catalogs

public interface Inno.Extensibility.Catalogs.ITypeCatalogRegistrar

Generated contributors run synchronously on the composition thread and must not retain the registrar. Its registrations belong to the resulting generation. Constructors execute only when requested.

Kind Element Description
Methods ITypeCatalogRegistrar.Register Registers immutable discovery metadata and an optional parameterless construction function.
Methods ITypeCatalogRegistrar.RegisterFactory Registers a closed generic construction linked by the contributing assembly.
Methods ITypeCatalogRegistrar.RejectGenericConstruction Records a construction whose argument set was rejected by the declaration’s compile-time constraints.