RegistrationExtensions.AsWebApiAuthenticationFilterOverrideFor<TController> Method (IRegistrationBuilder<Object, IConcreteActivatorData, SingleRegistrationStyle>) |
Namespace:
Autofac.Integration.WebApi
Assembly:
Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntaxpublic static IRegistrationBuilder<Object, IConcreteActivatorData, SingleRegistrationStyle> AsWebApiAuthenticationFilterOverrideFor<TController>(
this IRegistrationBuilder<Object, IConcreteActivatorData, SingleRegistrationStyle> registration
)
where TController : IHttpController
<ExtensionAttribute>
Public Shared Function AsWebApiAuthenticationFilterOverrideFor(Of TController As IHttpController) (
registration As IRegistrationBuilder(Of Object, IConcreteActivatorData, SingleRegistrationStyle)
) As IRegistrationBuilder(Of Object, IConcreteActivatorData, SingleRegistrationStyle)
Parameters
- registration
- Type: Autofac.Builder.IRegistrationBuilder<Object, IConcreteActivatorData, SingleRegistrationStyle>
The registration.
Type Parameters
- TController
- The type of the controller.
Return Value
Type:
IRegistrationBuilder<Object,
IConcreteActivatorData,
SingleRegistrationStyle>A registration builder allowing further configuration of the component.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IRegistrationBuilder<Object,
IConcreteActivatorData,
SingleRegistrationStyle>. 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