RegistrationExtensionsInjectActionInvokerTLimit, TActivatorData, TRegistrationStyle Method (IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyle) |
Inject an IActionInvoker into the controller's ActionInvoker property.
Namespace:
Autofac.Integration.Mvc
Assembly:
Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax public static IRegistrationBuilder<TLimit, TActivatorData, TRegistrationStyle> InjectActionInvoker<TLimit, TActivatorData, TRegistrationStyle>(
this IRegistrationBuilder<TLimit, TActivatorData, TRegistrationStyle> registrationBuilder
)
<ExtensionAttribute>
Public Shared Function InjectActionInvoker(Of TLimit, TActivatorData, TRegistrationStyle) (
registrationBuilder As IRegistrationBuilder(Of TLimit, TActivatorData, TRegistrationStyle)
) As IRegistrationBuilder(Of TLimit, TActivatorData, TRegistrationStyle)
Parameters
- registrationBuilder
- Type: Autofac.BuilderIRegistrationBuilderTLimit, TActivatorData, TRegistrationStyle
The registration builder.
Type Parameters
- TLimit
- Limit type.
- TActivatorData
- Activator data.
- TRegistrationStyle
- Registration style.
Return Value
Type:
IRegistrationBuilderTLimit,
TActivatorData,
TRegistrationStyleA registration builder.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IRegistrationBuilderTLimit,
TActivatorData,
TRegistrationStyle. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also