Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

RuntimeSubsystemPipeline.GetRequiredSubsystem

Section titled “RuntimeSubsystemPipeline.GetRequiredSubsystem”
  • Resolves the unique active subsystem that implements the requested contract.

API: engine
Project: Inno.Runtime

public TFeature Inno.Runtime.RuntimeSubsystemPipeline.GetRequiredSubsystem<TFeature>() where TFeature : class, Inno.Runtime.Contracts.IRuntimeSubsystem

Type parameter TFeature: The subsystem contract or concrete subsystem type required by the composition root.

The unique compatible subsystem owned by this pipeline.

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.