IControllerConfiguration.Initialize Method
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
'Declaration
Sub Initialize ( _
controllerSettings As HttpControllerSettings, _
controllerDescriptor As HttpControllerDescriptor _
)
'Usage
Dim instance As IControllerConfiguration
Dim controllerSettings As HttpControllerSettings
Dim controllerDescriptor As HttpControllerDescriptor
instance.Initialize(controllerSettings, _
controllerDescriptor)
void Initialize(
HttpControllerSettings controllerSettings,
HttpControllerDescriptor controllerDescriptor
)
void Initialize(
HttpControllerSettings^ controllerSettings,
HttpControllerDescriptor^ controllerDescriptor
)
abstract Initialize :
controllerSettings:HttpControllerSettings *
controllerDescriptor:HttpControllerDescriptor -> unit
function Initialize(
controllerSettings : HttpControllerSettings,
controllerDescriptor : 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.