ReflectedHttpParameterDescriptor Class
Represents the reflected 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 class ReflectedHttpParameterDescriptor : HttpParameterDescriptor
public ref class ReflectedHttpParameterDescriptor : HttpParameterDescriptor
type ReflectedHttpParameterDescriptor =
class
inherit HttpParameterDescriptor
end
Public Class ReflectedHttpParameterDescriptor
Inherits HttpParameterDescriptor
Constructors
Name | Description | |
---|---|---|
ReflectedHttpParameterDescriptor() | Initializes a new instance of the ReflectedHttpParameterDescriptor class. |
|
ReflectedHttpParameterDescriptor(HttpActionDescriptor, ParameterInfo) | Initializes a new instance of the ReflectedHttpParameterDescriptor class. |
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.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetCustomAttributes<TAttribute>() | 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.) |
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