HttpParameterDescriptor Class
Represents the HTTP parameter descriptor.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpParameterDescriptor
System.Web.Http.Controllers.ReflectedHttpParameterDescriptor
Syntax
public abstract class HttpParameterDescriptor
public ref class HttpParameterDescriptor abstract
[<AbstractClass>]
type HttpParameterDescriptor = class end
Public MustInherit Class HttpParameterDescriptor
Constructors
Name | Description | |
---|---|---|
HttpParameterDescriptor() | Initializes a new instance of the HttpParameterDescriptor class. |
|
HttpParameterDescriptor(HttpActionDescriptor) | Initializes a new instance of the HttpParameterDescriptor class. |
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (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.) |
Extension Methods
Name | Description | |
---|---|---|
BindAsError(String) | Binds parameter that results as an error. (Defined by ParameterBindingExtensions.) |
|
BindWithAttribute(ParameterBindingAttribute) | 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(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.) |
|
BindWithFormatter(MediaTypeFormatter[]) | 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(IEnumerable<ValueProviderFactory>) | 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(IModelBinder, IEnumerable<ValueProviderFactory>) | Overloaded. Binds parameter by parsing the query string.(Defined by ParameterBindingExtensions.) |
|
BindWithModelBinding(ValueProviderFactory[]) | Overloaded. Binds parameter by parsing the query string.(Defined by ParameterBindingExtensions.) |
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.
See Also
System.Web.Http.Controllers Namespace
Return to top