ODataFormattingAttribute.Initialize Method (HttpControllerSettings, HttpControllerDescriptor)
Callback invoked to set per-controller overrides for this controllerDescriptor.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public void Initialize(
HttpControllerSettings controllerSettings,
HttpControllerDescriptor controllerDescriptor
)
public:
virtual void Initialize(
HttpControllerSettings^ controllerSettings,
HttpControllerDescriptor^ controllerDescriptor
) sealed
abstract Initialize :
controllerSettings:HttpControllerSettings *
controllerDescriptor:HttpControllerDescriptor -> unit
override Initialize :
controllerSettings:HttpControllerSettings *
controllerDescriptor:HttpControllerDescriptor -> unit
Public 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.
Implements
IControllerConfiguration.Initialize(HttpControllerSettings, HttpControllerDescriptor)
See Also
ODataFormattingAttribute Class
System.Web.Http.OData Namespace
Return to top