Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Builds immutable extension registries from versioned type-cache snapshots.

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

public abstract class Inno.Extensibility.Types.TypeRegistry<TSnapshot> where TSnapshot : class : System.IDisposable

Type parameter TSnapshot: The immutable registry snapshot type.

Kind Element Description
Constructors TypeRegistry<TSnapshot>.Constructor Creates and registers a refreshable type registry.
Methods TypeRegistry<TSnapshot>.Build Builds a complete candidate registry without changing the active snapshot.
Methods TypeRegistry<TSnapshot>.Clear Releases the active snapshot while keeping the registry reusable.
Methods TypeRegistry<TSnapshot>.CreateExtension Creates a validated extension instance using a parameterless constructor.
Methods TypeRegistry<TSnapshot>.Dispose Releases the current registry snapshot.
Methods TypeRegistry<TSnapshot>.DisposeExtensions Retires distinct disposable extensions in reverse order, draining pending work before lower dependencies.
Methods TypeRegistry<TSnapshot>.DisposeSnapshot Releases resources owned by a registry snapshot.
Methods TypeRegistry<TSnapshot>.OnActivating Reversibly activates a complete candidate while the previous snapshot remains available.
Methods TypeRegistry<TSnapshot>.OnActivationCompleted Finalizes a successfully activated candidate after every coordinated registry has activated.
Methods TypeRegistry<TSnapshot>.OnActivationRolledBack Reverses lifecycle work performed while activating a candidate snapshot.
Methods TypeRegistry<TSnapshot>.OnCleanupFailed Reports an exception raised while rolling back activation, completing activation, or releasing a snapshot.
Methods TypeRegistry<TSnapshot>.OwnCandidateExtension Adds a newly constructed extension to the current build’s rollback ownership before further validation.
Methods TypeRegistry<TSnapshot>.Refresh Refreshes this registry from the currently active type snapshot.
Methods TypeRegistry<TSnapshot>.ReportRetirementFailure Faults the shared generation gate when a resource composed from this registry cannot retire safely.
Methods TypeRegistry<TSnapshot>.RetireResource Drains one retryable lifecycle operation at the control-thread safe point before releasing dependencies.
Properties TypeRegistry<TSnapshot>.current Gets the current snapshot, refreshing it when the type catalog changed.
Properties TypeRegistry<TSnapshot>.isInitialized Gets whether the registry has built its first snapshot.