Table of Contents

Class ParameterBindingAttribute

Namespace
System.Web.Http
Assembly
System.Web.Http.dll

Attribute on a parameter or type that produces a HttpParameterBinding. If the attribute is on a type-declaration, then it's as if that attribute is present on all action parameters of that type.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
public abstract class ParameterBindingAttribute : Attribute
Inheritance
ParameterBindingAttribute
Derived
Inherited Members

Constructors

ParameterBindingAttribute()

Initializes a new instance of the ParameterBindingAttribute class.

protected ParameterBindingAttribute()

Methods

GetBinding(HttpParameterDescriptor)

Gets the parameter binding.

public abstract HttpParameterBinding GetBinding(HttpParameterDescriptor parameter)

Parameters

parameter HttpParameterDescriptor

The parameter description.

Returns

HttpParameterBinding

The parameter binding.