Table of Contents

Class ODataPathParameterBindingAttribute

Namespace
System.Web.Http.OData.Routing
Assembly
System.Web.Http.OData.dll

Implementation of System.Web.Http.ParameterBindingAttribute used to bind an instance of ODataPath as an action parameter.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
public sealed class ODataPathParameterBindingAttribute : ParameterBindingAttribute
Inheritance
ODataPathParameterBindingAttribute

Constructors

ODataPathParameterBindingAttribute()

public ODataPathParameterBindingAttribute()

Methods

GetBinding(HttpParameterDescriptor)

Gets the parameter binding.

public override HttpParameterBinding GetBinding(HttpParameterDescriptor parameter)

Parameters

parameter HttpParameterDescriptor

The parameter description.

Returns

HttpParameterBinding

The parameter binding.