Share via


ODataFormattingAttribute.Initialize Method

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

'Declaration
Public Sub Initialize ( _
    controllerSettings As HttpControllerSettings, _
    controllerDescriptor As HttpControllerDescriptor _
)
'Usage
Dim instance As ODataFormattingAttribute 
Dim controllerSettings As HttpControllerSettings 
Dim controllerDescriptor As HttpControllerDescriptor

instance.Initialize(controllerSettings, _
    controllerDescriptor)
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 final function Initialize(
    controllerSettings : HttpControllerSettings, 
    controllerDescriptor : HttpControllerDescriptor
)

Parameters

Implements

IControllerConfiguration.Initialize(HttpControllerSettings, HttpControllerDescriptor)

See Also

Reference

ODataFormattingAttribute Class

System.Web.Http.OData Namespace