Click or drag to resize

ComponentRegistrationBuildResolvePipeline Method (IComponentRegistryServices, IResolvePipelineBuilder)

Populates the resolve pipeline with middleware based on the registration, and builds the pipeline.

Namespace:  Autofac.Core.Registration
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
protected virtual IResolvePipeline BuildResolvePipeline(
	IComponentRegistryServices registryServices,
	IResolvePipelineBuilder pipelineBuilder
)

Parameters

registryServices
Type: Autofac.CoreIComponentRegistryServices
The known set of all services.
pipelineBuilder
Type: Autofac.Core.Resolving.PipelineIResolvePipelineBuilder
The registration's pipeline builder (with user-added middleware already in it).

Return Value

Type: IResolvePipeline
The built pipeline.
Remarks
A derived implementation can use this to add additional middleware, or return a completely different pipeline if required.
See Also