ODataRoutingAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Definiuje atrybut na poziomie kontrolera, który może służyć do włączania wyboru akcji OData na podstawie konwencji routingu.
[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
- Dziedziczenie
-
ODataRoutingAttribute
- Atrybuty
- Implementuje
-
System.Web.Http.Controllers.IControllerConfiguration
Konstruktory
ODataRoutingAttribute() |
Definiuje atrybut na poziomie kontrolera, który może służyć do włączania wyboru akcji OData na podstawie konwencji routingu. |
Metody
Initialize(HttpControllerSettings, HttpControllerDescriptor) |
Wywołanie zwrotne wywołane w celu ustawienia przesłonięć kontrolera dla tego kontroleraDescriptor. |