ReflectedHttpParameterDescriptor 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 Class ReflectedHttpParameterDescriptor _
Inherits HttpParameterDescriptor
'Usage
Dim instance As ReflectedHttpParameterDescriptor
public class ReflectedHttpParameterDescriptor : HttpParameterDescriptor
public ref class ReflectedHttpParameterDescriptor : public HttpParameterDescriptor
type ReflectedHttpParameterDescriptor =
class
inherit HttpParameterDescriptor
end
public class ReflectedHttpParameterDescriptor extends HttpParameterDescriptor
The ReflectedHttpParameterDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReflectedHttpParameterDescriptor() | Initializes a new instance of the ReflectedHttpParameterDescriptor class. | |
ReflectedHttpParameterDescriptor(HttpActionDescriptor, ParameterInfo) | Initializes a new instance of the ReflectedHttpParameterDescriptor class. |
Top
Properties
Name | Description | |
---|---|---|
ActionDescriptor | Gets or sets the action descriptor. (Inherited from HttpParameterDescriptor.) | |
Configuration | Gets or sets the HttpConfiguration for the HttpParameterDescriptor. (Inherited from HttpParameterDescriptor.) | |
DefaultValue | Gets the default value for the parameter. (Overrides HttpParameterDescriptor.DefaultValue.) | |
IsOptional | Gets a value that indicates whether the parameter is optional. (Overrides HttpParameterDescriptor.IsOptional.) | |
ParameterBinderAttribute | Gets or sets the parameter binding attribute. (Inherited from HttpParameterDescriptor.) | |
ParameterInfo | Gets or sets the parameter information. | |
ParameterName | Gets the name of the parameter. (Overrides HttpParameterDescriptor.ParameterName.) | |
ParameterType | Gets the type of the parameter. (Overrides HttpParameterDescriptor.ParameterType.) | |
Prefix | Gets the prefix of this parameter. (Inherited from HttpParameterDescriptor.) | |
Properties | Gets the properties of this parameter. (Inherited from HttpParameterDescriptor.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetCustomAttributes<T> | Retrieves a collection of the custom attributes from the parameter. (Overrides HttpParameterDescriptor.GetCustomAttributes<T>().) | |
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.