Click or drag to resize

RegistrationExtensions Methods

The RegistrationExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAsActionFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IActionFilter for the specified controller.
Public methodStatic memberAsActionFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IActionFilter for the specified controller action.
Public methodStatic memberAsActionFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IActionFilter override for the specified controller.
Public methodStatic memberAsActionFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IActionFilter override for the specified controller action.
Public methodStatic memberAsAuthenticationFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IAuthenticationFilter for the specified controller.
Public methodStatic memberAsAuthenticationFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IAuthenticationFilter for the specified controller action.
Public methodStatic memberAsAuthenticationFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IAuthenticationFilter override for the specified controller.
Public methodStatic memberAsAuthenticationFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IAuthenticationFilter override for the specified controller action.
Public methodStatic memberAsAuthorizationFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IAuthorizationFilter for the specified controller.
Public methodStatic memberAsAuthorizationFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IAuthorizationFilter for the specified controller action.
Public methodStatic memberAsAuthorizationFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IAuthorizationFilter override for the specified controller.
Public methodStatic memberAsAuthorizationFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IAuthorizationFilter override for the specified controller action.
Public methodStatic memberAsExceptionFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IExceptionFilter for the specified controller.
Public methodStatic memberAsExceptionFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IExceptionFilter for the specified controller action.
Public methodStatic memberAsExceptionFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IExceptionFilter override for the specified controller.
Public methodStatic memberAsExceptionFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IExceptionFilter override for the specified controller action.
Public methodStatic memberAsModelBinderForTypesTLimit, TActivatorData, TRegistrationStyle
Sets a provided registration to act as an IModelBinder for the specified list of types.
Public methodStatic memberAsResultFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IResultFilter for the specified controller.
Public methodStatic memberAsResultFilterForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IResultFilter for the specified controller action.
Public methodStatic memberAsResultFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, Int32)
Sets the provided registration to act as an IResultFilter override for the specified controller.
Public methodStatic memberAsResultFilterOverrideForTController(IRegistrationBuilderObject, IConcreteActivatorData, SingleRegistrationStyle, ExpressionActionTController, Int32)
Sets the provided registration to act as an IResultFilter override for the specified controller action.
Public methodStatic memberCacheInSessionTLimit, TActivatorData, TSingleRegistrationStyle
Cache instances in the web session. This implies external ownership (disposal is not available.) All dependencies must also have external ownership.
Public methodStatic memberInjectActionInvokerTLimit, TActivatorData, TRegistrationStyle(IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyle)
Inject an IActionInvoker into the controller's ActionInvoker property.
Public methodStatic memberInjectActionInvokerTLimit, TActivatorData, TRegistrationStyle(IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyle, Service)
Inject an IActionInvoker into the controller's ActionInvoker property.
Public methodStatic memberInstancePerHttpRequestTLimit, TActivatorData, TStyle Obsolete.
Share one instance of the component within the context of a single HTTP request.
Public methodStatic memberOverrideActionFilterForTController(ContainerBuilder)
Sets the provided registration to act as an IOverrideFilter for the specified controller.
Public methodStatic memberOverrideActionFilterForTController(ContainerBuilder, ExpressionActionTController)
Sets the provided registration to act as an IOverrideFilter for the specified controller action.
Public methodStatic memberOverrideAuthenticationFilterForTController(ContainerBuilder)
Sets the provided registration to act as an IOverrideFilter for the specified controller.
Public methodStatic memberOverrideAuthenticationFilterForTController(ContainerBuilder, ExpressionActionTController)
Sets the provided registration to act as an IOverrideFilter for the specified controller action.
Public methodStatic memberOverrideAuthorizationFilterForTController(ContainerBuilder)
Sets the provided registration to act as an IOverrideFilter for the specified controller.
Public methodStatic memberOverrideAuthorizationFilterForTController(ContainerBuilder, ExpressionActionTController)
Sets the provided registration to act as an IOverrideFilter for the specified controller action.
Public methodStatic memberOverrideExceptionFilterForTController(ContainerBuilder)
Sets the provided registration to act as an IOverrideFilter for the specified controller.
Public methodStatic memberOverrideExceptionFilterForTController(ContainerBuilder, ExpressionActionTController)
Sets the provided registration to act as an IOverrideFilter for the specified controller action.
Public methodStatic memberOverrideResultFilterForTController(ContainerBuilder)
Sets the provided registration to act as an IOverrideFilter for the specified controller.
Public methodStatic memberOverrideResultFilterForTController(ContainerBuilder, ExpressionActionTController)
Sets the provided registration to act as an IOverrideFilter for the specified controller action.
Public methodStatic memberRegisterControllers
Register types that implement IController in the provided assemblies.
Public methodStatic memberRegisterFilterProvider
Registers the AutofacFilterProvider.
Public methodStatic memberRegisterModelBinderProvider
Public methodStatic memberRegisterModelBinders
Register types that implement IModelBinder in the provided assemblies and have a ModelBinderTypeAttribute.
Top
See Also