Synced
ITypeCatalogRegistrar
Section titled “ITypeCatalogRegistrar”
- Accepts explicit declarations and linked generic factories while a static catalog is being composed.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Catalogs
Declaration
Section titled “Declaration”public interface Inno.Extensibility.Catalogs.ITypeCatalogRegistrarRemarks
Section titled “Remarks”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.
Members
Section titled “Members”| 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. |