ValueProviderAttribute Class
This attribute is used to specify a custom ValueProviderFactory.
System.Object
System.Attribute
System.Web.Http.ParameterBindingAttribute
System.Web.Http.ModelBinding.ModelBinderAttribute
System.Web.Http.ValueProviders.ValueProviderAttribute
System.Attribute
System.Web.Http.ParameterBindingAttribute
System.Web.Http.ModelBinding.ModelBinderAttribute
System.Web.Http.ValueProviders.ValueProviderAttribute
Namespace: System.Web.Http.ValueProviders
Assembly: System.Web.Http (in System.Web.Http.dll)
The ValueProviderAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ValueProviderAttribute(Type) | Initializes a new instance of the ValueProviderAttribute. |
![]() | ValueProviderAttribute(Type()) | Initializes a new instance of the ValueProviderAttribute. |
| Name | Description | |
|---|---|---|
![]() | BinderType | Gets or sets the type of model binder. (Inherited from ModelBinderAttribute.) |
![]() | Name | Gets or sets the name to consider as the parameter name during model binding. (Inherited from ModelBinderAttribute.) |
![]() | SuppressPrefixCheck | Gets or sets a value that specifies whether the prefix check should be suppressed. (Inherited from ModelBinderAttribute.) |
![]() | TypeId | (Inherited from Attribute.) |
![]() | ValueProviderFactoryTypes | Gets the types of object returned by the value provider factory. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | GetBinding | Gets the binding for a parameter. (Inherited from ModelBinderAttribute.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetModelBinder | Get the IModelBinder for this type. (Inherited from ModelBinderAttribute.) |
![]() | GetModelBinderProvider | Gets the model binder provider. (Inherited from ModelBinderAttribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | GetValueProviderFactories | Gets the value provider factories. (Overrides ModelBinderAttribute.GetValueProviderFactories(HttpConfiguration).) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | Match | (Inherited from Attribute.) |
![]() | ToString | (Inherited from Object.) |
