Click or drag to resize

CoreEventMiddlewareExecute Method

Invoked when this middleware is executed as part of an active ResolveRequest. The middleware should usually call the next method in order to continue the pipeline, unless the middleware fully satisfies the request.

Namespace:  Autofac.Core.Resolving.Middleware
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public void Execute(
	ResolveRequestContext context,
	Action<ResolveRequestContext> next
)

Parameters

context
Type: Autofac.Core.Resolving.PipelineResolveRequestContext
The context for the resolve request.
next
Type: SystemActionResolveRequestContext
The method to invoke to continue the pipeline execution; pass this method the context argument.

Implements

IResolveMiddlewareExecute(ResolveRequestContext, ActionResolveRequestContext)
See Also