ODataRoutingAttribute.Initialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Callback invoked to set per-controller overrides for this controllerDescriptor.
public void Initialize (System.Web.Http.Controllers.HttpControllerSettings controllerSettings, System.Web.Http.Controllers.HttpControllerDescriptor controllerDescriptor);
abstract member Initialize : System.Web.Http.Controllers.HttpControllerSettings * System.Web.Http.Controllers.HttpControllerDescriptor -> unit
override this.Initialize : System.Web.Http.Controllers.HttpControllerSettings * System.Web.Http.Controllers.HttpControllerDescriptor -> unit
Public Sub Initialize (controllerSettings As HttpControllerSettings, controllerDescriptor As HttpControllerDescriptor)
Parameters
- controllerSettings
- System.Web.Http.Controllers.HttpControllerSettings
The controller settings to initialize.
- controllerDescriptor
- System.Web.Http.Controllers.HttpControllerDescriptor
The controller descriptor. Note that the System.Web.Http.Controllers.HttpControllerDescriptor can be associated with the derived controller type given that System.Web.Http.Controllers.IControllerConfiguration is inherited.
Implements
System.Web.Http.Controllers.IControllerConfiguration.Initialize(System.Web.Http.Controllers.HttpControllerSettings,System.Web.Http.Controllers.HttpControllerDescriptor)