ValueProviderAttribute Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod ValueProviderAttribute(Type)

Initializes a new instance of the ValueProviderAttribute.

System_CAPS_pubmethod ValueProviderAttribute(Type[])

Initializes a new instance of the ValueProviderAttribute.

See Also

ValueProviderAttribute Class
System.Web.Http.ValueProviders Namespace

Return to top

ValueProviderAttribute Constructor (Type)

Initializes a new instance of the ValueProviderAttribute.

Syntax

public ValueProviderAttribute(
    Type valueProviderFactory
)
public:
ValueProviderAttribute(
    Type^ valueProviderFactory
)
new : 
        valueProviderFactory:Type -> ValueProviderAttribute
Public Sub New (
    valueProviderFactory As Type
)

Parameters

  • valueProviderFactory
    Type: System.Type

    The type of the model binder.

Return to top

ValueProviderAttribute Constructor (Type[])

Initializes a new instance of the ValueProviderAttribute.

Syntax

public ValueProviderAttribute(
    params Type[] valueProviderFactories
)
public:
ValueProviderAttribute(
    ... array<Type^>^ valueProviderFactories
)
new : 
        [<ParamArrayAttribute>] valueProviderFactories:Type[] -> ValueProviderAttribute
Public Sub New (
    ParamArray valueProviderFactories As Type()
)

Parameters

  • valueProviderFactories
    Type: System.Type[]

    An array of model binder types.

Return to top