IComponentRegistryServiceMiddlewareFor Method |
Gets the set of custom service middleware for the specified service.
Namespace:
Autofac.Core
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax IEnumerable<IResolveMiddleware> ServiceMiddlewareFor(
Service service
)
Function ServiceMiddlewareFor (
service As Service
) As IEnumerable(Of IResolveMiddleware)
Parameters
- service
- Type: Autofac.CoreService
The service to look up.
Return Value
Type:
IEnumerableIResolveMiddlewareThe set of custom service middleware.
See Also