HttpParameterDescriptor Class
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpParameterDescriptor
System.Web.Http.Controllers.ReflectedHttpParameterDescriptor
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public MustInherit Class HttpParameterDescriptor
'Usage
Dim instance As HttpParameterDescriptor
public abstract class HttpParameterDescriptor
public ref class HttpParameterDescriptor abstract
[<AbstractClassAttribute>]
type HttpParameterDescriptor = class end
public abstract class HttpParameterDescriptor
The HttpParameterDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
HttpParameterDescriptor() | Initializes a new instance of the HttpParameterDescriptor class. |
![]() |
HttpParameterDescriptor(HttpActionDescriptor) | Initializes a new instance of the HttpParameterDescriptor class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ActionDescriptor | Gets or sets the action descriptor. |
![]() |
Configuration | Gets or sets the HttpConfiguration for the HttpParameterDescriptor. |
![]() |
DefaultValue | Gets the default value of the parameter. |
![]() |
IsOptional | Gets a value that indicates whether the parameter is optional. |
![]() |
ParameterBinderAttribute | Gets or sets the parameter binding attribute. |
![]() |
ParameterName | Gets the name of the parameter. |
![]() |
ParameterType | Gets the type of the parameter. |
![]() |
Prefix | Gets the prefix of this parameter. |
![]() |
Properties | Gets the properties of this parameter. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetCustomAttributes<T> | Retrieves a collection of the custom attributes from the parameter. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
![]() |
BindAsError | Binds parameter that results as an error. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithAttribute | Bind the parameter as if it had the given attribute on the declaration. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithFormatter() | Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithFormatter(MediaTypeFormatter[]) | Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithFormatter(IEnumerable<MediaTypeFormatter>) | Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithFormatter(IEnumerable<MediaTypeFormatter>, IBodyModelValidator) | Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithModelBinding() | Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithModelBinding(IModelBinder) | Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithModelBinding(ValueProviderFactory[]) | Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithModelBinding(IEnumerable<ValueProviderFactory>) | Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.) |
![]() |
BindWithModelBinding(IModelBinder, IEnumerable<ValueProviderFactory>) | Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.