ODataRoutingAttribute Class

Definition

Defines a controller-level attribute that can be used to enable OData action selection based on routing conventions.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class ODataRoutingAttribute : Attribute, System.Web.Http.Controllers.IControllerConfiguration
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class ODataRoutingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ODataRoutingAttribute = class
    inherit Attribute
    interface IControllerConfiguration
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ODataRoutingAttribute = class
    inherit Attribute
Public NotInheritable Class ODataRoutingAttribute
Inherits Attribute
Implements IControllerConfiguration
Public NotInheritable Class ODataRoutingAttribute
Inherits Attribute
Inheritance
ODataRoutingAttribute
Attributes
Implements
System.Web.Http.Controllers.IControllerConfiguration

Constructors

ODataRoutingAttribute()

Methods

Initialize(HttpControllerSettings, HttpControllerDescriptor)

Callback invoked to set per-controller overrides for this controllerDescriptor.

Applies to