AttributeRoutingConvention Class

 

Represents a routing convention that looks for ODataRouteAttributes to match an ODataPath to a controller and an action.

Namespace:   System.Web.OData.Routing.Conventions
Assembly:  System.Web.OData (in System.Web.OData.dll)

System::Object
  System.Web.OData.Routing.Conventions::AttributeRoutingConvention

public ref class AttributeRoutingConvention : IODataRoutingConvention

NameDescription
System_CAPS_pubmethodAttributeRoutingConvention(IEdmModel^, HttpConfiguration^)

Initializes a new instance of the AttributeRoutingConvention class.

System_CAPS_pubmethodAttributeRoutingConvention(IEdmModel^, HttpConfiguration^, IODataPathTemplateHandler^)

Initializes a new instance of the AttributeRoutingConvention class.

System_CAPS_pubmethodAttributeRoutingConvention(IEdmModel^, IEnumerable<HttpControllerDescriptor^>^)

Initializes a new instance of the AttributeRoutingConvention class.

System_CAPS_pubmethodAttributeRoutingConvention(IEdmModel^, IEnumerable<HttpControllerDescriptor^>^, IODataPathTemplateHandler^)

Initializes a new instance of the AttributeRoutingConvention class.

NameDescription
System_CAPS_pubpropertyModel

Gets the IEdmModel to be used for parsing the route templates.

System_CAPS_pubpropertyODataPathTemplateHandler

Gets the IODataPathTemplateHandler to be used for parsing the route templates.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: