Click or drag to resize

AutofacControllerConfigurationAttributeInitialize Method

Callback invoked to set per-controller overrides for this controllerDescriptor.

Namespace:  Autofac.Integration.WebApi
Assembly:  Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax
public void Initialize(
	HttpControllerSettings controllerSettings,
	HttpControllerDescriptor controllerDescriptor
)

Parameters

controllerSettings
Type: HttpControllerSettings
The controller settings to initialize.
controllerDescriptor
Type: HttpControllerDescriptor
The controller descriptor. Note that the HttpControllerDescriptor can be associated with the derived controller type given that IControllerConfiguration is inherited.

Implements

IControllerConfiguration.Initialize(HttpControllerSettings, HttpControllerDescriptor)
Exceptions
ExceptionCondition
ArgumentNullException Thrown if controllerSettings or controllerDescriptor is .
See Also