Click or drag to resize

IResolvePipelineBuilderUseRange Method

Use a set of multiple, ordered middleware instances in a resolve pipeline.

Namespace:  Autofac.Core.Resolving.Pipeline
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
IResolvePipelineBuilder UseRange(
	IEnumerable<IResolveMiddleware> middleware,
	MiddlewareInsertionMode insertionMode = MiddlewareInsertionMode.EndOfPhase
)

Parameters

middleware
Type: System.Collections.GenericIEnumerableIResolveMiddleware
The set of middleware items to add to the pipelne. The set of middleware must be pre-ordered by phase.
insertionMode (Optional)
Type: Autofac.Core.Resolving.PipelineMiddlewareInsertionMode
The insertion mode specifying whether to add at the start or end of the phase.

Return Value

Type: IResolvePipelineBuilder
The same builder instance.
See Also