Export (0) Print
Expand All

HttpParameterDescriptor Class

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

public abstract class HttpParameterDescriptor

The HttpParameterDescriptor type exposes the following members.

  NameDescription
Protected methodHttpParameterDescriptor()Initializes a new instance of the HttpParameterDescriptor class.
Protected methodHttpParameterDescriptor(HttpActionDescriptor)Initializes a new instance of the HttpParameterDescriptor class.
Top

  NameDescription
Public propertyActionDescriptorGets or sets the action descriptor.
Public propertyConfigurationGets or sets the HttpConfiguration for the HttpParameterDescriptor.
Public propertyDefaultValueGets the default value of the parameter.
Public propertyIsOptionalGets a value that indicates whether the parameter is optional.
Public propertyParameterBinderAttributeGets or sets the parameter binding attribute.
Public propertyParameterNameGets the name of the parameter.
Public propertyParameterTypeGets the type of the parameter.
Public propertyPrefixGets the prefix of this parameter.
Public propertyPropertiesGets the properties of this parameter.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCustomAttributes<T>Retrieves a collection of the custom attributes from the parameter.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public Extension MethodBindAsErrorBinds parameter that results as an error. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithAttributeBind the parameter as if it had the given attribute on the declaration. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithFormatter()Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithFormatter(MediaTypeFormatter[])Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithFormatter(IEnumerable<MediaTypeFormatter>)Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithFormatter(IEnumerable<MediaTypeFormatter>, IBodyModelValidator)Overloaded. Binds parameter by parsing the HTTP body content. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithModelBinding()Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithModelBinding(IModelBinder)Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithModelBinding(ValueProviderFactory[])Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithModelBinding(IEnumerable<ValueProviderFactory>)Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Public Extension MethodBindWithModelBinding(IModelBinder, IEnumerable<ValueProviderFactory>)Overloaded. Binds parameter by parsing the query string. (Defined by ParameterBindingExtensions.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft