Synced
RuntimeSubsystemPipeline.GetRequiredSubsystem
Section titled “RuntimeSubsystemPipeline.GetRequiredSubsystem”
- Resolves the unique active subsystem that implements the requested contract.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Runtime
Declaration
Section titled “Declaration”public TFeature Inno.Runtime.RuntimeSubsystemPipeline.GetRequiredSubsystem<TFeature>() where TFeature : class, Inno.Runtime.Contracts.IRuntimeSubsystemType parameters
Section titled “Type parameters”Type parameter TFeature: The subsystem contract or concrete subsystem type required by the composition root.
Returns
Section titled “Returns”The unique compatible subsystem owned by this pipeline.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when no compatible subsystem exists or more than one compatible subsystem is active.
Exception T:System.ObjectDisposedException: Thrown after this pipeline has been disposed.