Synced
TypeCatalog
Section titled “TypeCatalog”
- Owns the active type catalog and provides all type discovery and identity queries.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”public sealed class Inno.Extensibility.Types.TypeCatalog : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | TypeCatalog.Constructor | Creates a type catalog derived transactionally from one module host. |
| Methods | TypeCatalog.AcquireOperation | Defers automatic assembly publication until a synchronous typed operation releases its current owners. |
| Methods | TypeCatalog.Dispose | Unregisters type discovery and releases all active type-registry snapshots. |
| Methods | TypeCatalog.GetSubTypesOf | Gets all non-abstract discovered types assignable to T. |
| Methods | TypeCatalog.GetTypeRef | Gets the reference for an active CLR type. |
| Methods | TypeCatalog.GetTypesImplementing | Gets all non-abstract discovered types implementing TInterface. |
| Methods | TypeCatalog.GetTypesWithAttribute | Gets all non-abstract discovered types marked with TAttribute. |
| Methods | TypeCatalog.Rebuild | Rebuilds the assembly catalog, type snapshot, and every registered type registry. |
| Methods | TypeCatalog.Resolve | Resolves a logical type reference against the active immutable generation. |
| Methods | TypeCatalog.TryGetTypeRef | Tries to get the reference for an active CLR type. |
| Methods | TypeCatalog.TryResolve | Attempts to resolve a logical type reference against the active immutable generation. |
| Properties | TypeCatalog.current | Gets the current immutable type snapshot after applying pending host assembly changes. |
| Properties | TypeCatalog.isInitialized | Gets whether the type catalog is registered with an initialized T:Inno.Extensibility.Modules.ModuleHost. |