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
)
Public Shared Function IsDefaultMiddleware (
middleware As IResolveMiddleware
) As Boolean
Parameters
- middleware
- Type: Autofac.Core.Resolving.PipelineIResolveMiddleware
The middleware to test.
Return Value
Type:
BooleanTrue if the middleware is one of the defaults; false otherwise.
See Also