IControllerConfiguration.Initialize Method (HttpControllerSettings, HttpControllerDescriptor)
Callback invoked to set per-controller overrides for this controllerDescriptor.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
void Initialize(
HttpControllerSettings controllerSettings,
HttpControllerDescriptor controllerDescriptor
)
void Initialize(
HttpControllerSettings^ controllerSettings,
HttpControllerDescriptor^ controllerDescriptor
)
abstract Initialize :
controllerSettings:HttpControllerSettings *
controllerDescriptor:HttpControllerDescriptor -> unit
Sub Initialize (
controllerSettings As HttpControllerSettings,
controllerDescriptor As HttpControllerDescriptor
)
Parameters
controllerSettings
Type: System.Web.Http.Controllers.HttpControllerSettingsThe controller settings to initialize.
controllerDescriptor
Type: System.Web.Http.Controllers.HttpControllerDescriptorThe controller descriptor. Note that the HttpControllerDescriptor can be associated with the derived controller type given that IControllerConfiguration is inherited.
See Also
IControllerConfiguration Interface
System.Web.Http.Controllers Namespace
Return to top