Share via


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
Public method ReflectedHttpParameterDescriptor() Initializes a new instance of the ReflectedHttpParameterDescriptor class.
Public method ReflectedHttpParameterDescriptor(HttpActionDescriptor, ParameterInfo) Initializes a new instance of the ReflectedHttpParameterDescriptor class.

Top

Properties

  Name Description
Public property ActionDescriptor Gets or sets the action descriptor. (Inherited from HttpParameterDescriptor.)
Public property Configuration Gets or sets the HttpConfiguration for the HttpParameterDescriptor. (Inherited from HttpParameterDescriptor.)
Public property DefaultValue Gets the default value for the parameter. (Overrides HttpParameterDescriptor.DefaultValue.)
Public property IsOptional Gets a value that indicates whether the parameter is optional. (Overrides HttpParameterDescriptor.IsOptional.)
Public property ParameterBinderAttribute Gets or sets the parameter binding attribute. (Inherited from HttpParameterDescriptor.)
Public property ParameterInfo Gets or sets the parameter information.
Public property ParameterName Gets the name of the parameter. (Overrides HttpParameterDescriptor.ParameterName.)
Public property ParameterType Gets the type of the parameter. (Overrides HttpParameterDescriptor.ParameterType.)
Public property Prefix Gets the prefix of this parameter. (Inherited from HttpParameterDescriptor.)
Public property Properties Gets the properties of this parameter. (Inherited from HttpParameterDescriptor.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCustomAttributes<T> Retrieves a collection of the custom attributes from the parameter. (Overrides HttpParameterDescriptor.GetCustomAttributes<T>().)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method BindAsError Binds parameter that results as an error. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithAttribute Bind the parameter as if it had the given attribute on the declaration. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithFormatter() Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithFormatter(MediaTypeFormatter[]) Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithFormatter(IEnumerable<MediaTypeFormatter>) Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithFormatter(IEnumerable<MediaTypeFormatter>, IBodyModelValidator) Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithModelBinding() Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithModelBinding(IModelBinder) Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithModelBinding(ValueProviderFactory[]) Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension Method BindWithModelBinding(IEnumerable<ValueProviderFactory>) Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension Method 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.

See Also

Reference

System.Web.Http.Controllers Namespace