Click or drag to resize

ServicePipelinesIsDefaultMiddleware Method

Checks whether a given resolve middleware is one of the default middleware in DefaultMiddleware.

Namespace:  Autofac.Core.Resolving.Pipeline
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public static bool IsDefaultMiddleware(
	IResolveMiddleware middleware
)

Parameters

middleware
Type: Autofac.Core.Resolving.PipelineIResolveMiddleware
The middleware to test.

Return Value

Type: Boolean
True if the middleware is one of the defaults; false otherwise.
See Also