Synced
TypeRegistry<TSnapshot>.Constructor
Section titled “TypeRegistry<TSnapshot>.Constructor”
- Creates and registers a refreshable type registry.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”protected Inno.Extensibility.Types.TypeRegistry<TSnapshot>.TypeRegistry(Inno.Extensibility.Types.TypeCatalog types, System.TimeSpan? retirementTimeout = null)Parameters
Section titled “Parameters”Parameter types: The type catalog that coordinates this registry’s candidate generations.
Parameter retirementTimeout: The positive owner-thread drain deadline; omitted values use thirty seconds.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when types is null.
Exception T:System.ArgumentOutOfRangeException: The retirement timeout is not positive.