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
)
Protected Overridable Function BuildResolvePipeline (
registryServices As IComponentRegistryServices,
pipelineBuilder As IResolvePipelineBuilder
) As IResolvePipeline
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:
IResolvePipelineThe built pipeline.
Remarks
A derived implementation can use this to add additional middleware, or return a completely different pipeline if required.
See Also